I was trying to update my Kali Linux with the version of 2017, and go the following error:


W: An error  occurred during the signature verification...…..


Also I got:


W: Failed to fetch http://.....


And the system was saying:


W: Some index files failed to download. They have been ignore....



How fix this? Run the following command:


wget -q -O - https://archive.kali.org/archive-key.asc  | apt-key add






It is good to scan the devices with nmap and run some scripts to find out if an application on the target machine is vulnerable. This is the location of those scripts in case you want to see what scripts to use:




I run nmap to a specific port on smb and got this:


root@kali:~# nmap -script "smb-v*" -p445

Starting Nmap 7.70 ( https://nmap.org ) at 2019-01-29 18:25 CST

Nmap scan report for

Host is up (0.020s latency).



445/tcp open microsoft-ds


Host script results:

|_smb-vuln-ms10-054: false

|_smb-vuln-ms10-061: NT_STATUS_OBJECT_NAME_NOT_FOUND

| smb-vuln-ms17-010:


|   Remote Code Execution vulnerability in Microsoft SMBv1 servers (ms17-010)

|     State: VULNERABLE

|     IDs: CVE:CVE-2017-0143

|     Risk factor: HIGH

|       A critical remote code execution vulnerability exists in Microsoft SMBv1

|       servers (ms17-010).


|     Disclosure date: 2017-03-14

|     References:

|       https://technet.microsoft.com/en-us/library/security/ms17-010.aspx

|       https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0143

|_     https://blogs.technet.microsoft.com/msrc/2017/05/12/customer-guidance-for-wannacrypt-attacks/


Nmap done: 1 IP address (1 host up) scanned in 5.90 seconds