Skip to content

Commit dc3d5f4

Browse files
s0cm0nkeygitbook-bot
authored andcommitted
GitBook: [#1266] No subject
1 parent c799448 commit dc3d5f4

12 files changed

Lines changed: 42 additions & 55 deletions

File tree

13.4 KB
Loading

‎.gitbook/assets/image (3) (1).png‎

769 KB
Loading

‎.gitbook/assets/image (3).png‎

-37.1 KB
Loading
14.3 KB
Loading

‎.gitbook/assets/image (5) (1).png‎

681 KB
Loading

‎.gitbook/assets/image (5).png‎

14.8 KB
Loading

‎.gitbook/assets/image.png‎

34.6 KB
Loading

‎red-offensive/testing-methodology/exploitation.md‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,8 @@ ldapsearch -h 192.168.1.101 -p 389 -x -b "dc=mywebsite,dc=com"
781781

782782
{% tab title="Tools and Resources" %}
783783
* [https://xapax.github.io/security/#attacking\_active\_directory\_domain/good\_to\_know/ldap\_syntax/](https://xapax.github.io/security/#attacking\_active\_directory\_domain/good\_to\_know/ldap\_syntax/)
784-
* [LDAPmonitor](https://github.com/p0dalirius/LDAPmonitor) - Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration!f
784+
* [LDAPmonitor](https://github.com/p0dalirius/LDAPmonitor) - Monitor creation, deletion and changes to LDAP objects live during your pentest or system administration
785+
* [ldapdomaindump](https://github.com/dirkjanm/ldapdomaindump) - Active Directory information dumper via LDAP
785786
{% endtab %}
786787
{% endtabs %}
787788

@@ -895,6 +896,8 @@ root@kali:~/dirsearch# sqsh -S someserver -U sa -P PASS -D DB_NAME
895896
{% tab title="Specialty Tools" %}
896897
* [mssqlinstance.py:](https://github.com/SecureAuthCorp/impacket/blob/impacket\_0\_9\_21/examples/mssqlinstance.py) Retrieves the MSSQL instances names from the target host.
897898
* [mssqlclient.py:](https://github.com/SecureAuthCorp/impacket/blob/impacket\_0\_9\_21/examples/mssqlclient.py) An MSSQL client, supporting SQL and Windows Authentications (hashes too). It also supports TLS.
899+
* [PowerUpSQL](https://github.com/NetSPI/PowerUpSQL) - A PowerShell Toolkit for Attacking SQL Server
900+
* [https://github.com/NetSPI/PowerUpSQL/wiki](https://github.com/NetSPI/PowerUpSQL/wiki)
898901
{% endtab %}
899902

900903
{% tab title="Resources" %}
@@ -1049,6 +1052,9 @@ Default passwords:
10491052

10501053
## 3306 - MySQL
10511054

1055+
* [PowerUpSQL](https://github.com/NetSPI/PowerUpSQL) - A PowerShell Toolkit for Attacking SQL Server
1056+
* [https://github.com/NetSPI/PowerUpSQL/wiki](https://github.com/NetSPI/PowerUpSQL/wiki)
1057+
10521058
{% tabs %}
10531059
{% tab title="Connect" %}
10541060
```

‎red-offensive/testing-methodology/post-exploitation/README.md‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
## Post Exploitation Tasks and Checklists
44

5-
<figure><img src="../../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
5+
<figure><img src="../../../.gitbook/assets/image (5).png" alt=""><figcaption></figcaption></figure>
6+
7+
{% content-ref url="meterpreter-post-auth-runbook.md" %}
8+
[meterpreter-post-auth-runbook.md](meterpreter-post-auth-runbook.md)
9+
{% endcontent-ref %}
610

711
{% content-ref url="defense-evasion.md" %}
812
[defense-evasion.md](defense-evasion.md)

‎red-offensive/testing-methodology/post-exploitation/enumeration-and-harvesting/README.md‎

Lines changed: 25 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ description: All the ways to grab the goodies
44

55
# Enumeration and Harvesting
66

7-
{% content-ref url="../meterpreter-post-auth-runbook.md" %}
8-
[meterpreter-post-auth-runbook.md](../meterpreter-post-auth-runbook.md)
9-
{% endcontent-ref %}
10-
117
## **Enumeration**
128

139
{% tabs %}
@@ -36,6 +32,7 @@ description: All the ways to grab the goodies
3632
* [ADRecon](https://github.com/adrecon/ADRecon) - ADRecon is a tool which extracts and combines various artifacts (as highlighted below) out of an AD environment.
3733
* [ACLight](https://github.com/cyberark/ACLight) -A tool for advanced discovery of Privileged Accounts - including Shadow Admins.
3834
* [TruffleSnout](https://github.com/dsnezhkov/TruffleSnout) - Iterative AD discovery toolkit for offensive operators. Situational awareness and targeted low noise enumeration.
35+
* [Snaffler](https://github.com/SnaffCon/Snaffler) - It gets a list of Windows computers from Active Directory, then spreads out its snaffly appendages to them all to figure out which ones have file shares, and whether you can read them.
3936
{% endtab %}
4037

4138
{% tab title="SPN Scanning" %}
@@ -93,6 +90,8 @@ Privilege escalation tools can also provide much of the enumeration that you nee
9390

9491
iRedTeam blog - [https://www.ired.team/offensive-security/credential-access-and-credential-dumping](https://www.ired.team/offensive-security/credential-access-and-credential-dumping)
9592

93+
<figure><img src="../../../../.gitbook/assets/image (8) (2).png" alt=""><figcaption></figcaption></figure>
94+
9695
### Endpoint Tools
9796

9897
{% tabs %}
@@ -111,6 +110,9 @@ iRedTeam blog - [https://www.ired.team/offensive-security/credential-access-and-
111110
* [https://z4ksec.github.io/posts/masky-release-v0.0.3/](https://z4ksec.github.io/posts/masky-release-v0.0.3/)
112111
* [MimiPenguin](https://github.com/huntergregal/mimipenguin) - A tool to dump the login password from the current linux desktop user.
113112
* [Internal-Monologue](https://github.com/eladshamir/Internal-monologue) - Internal Monologue Attack: Retrieving NTLM Hashes without Touching LSASS
113+
* Impacket Tools
114+
* [impacket/mimikatz.py](https://github.com/SecureAuthCorp/impacket/blob/impacket\_0\_9\_21/examples/mimikatz.py)
115+
* [impacket/secretsdump.py](https://github.com/SecureAuthCorp/impacket/blob/impacket\_0\_9\_21/examples/secretsdump.py)
114116
{% endtab %}
115117

116118
{% tab title="LaZagne" %}
@@ -151,10 +153,10 @@ Simply double clicking on the executable ‘Lazagne.exe' will cause a warning me
151153
{% tab title="Mimikatz" %}
152154
{% embed url="https://github.com/swisskyrepo/PayloadsAllTheThings/blob/master/Methodology%20and%20Resources/Windows%20-%20Mimikatz.md" %}
153155

156+
[Mimikatz](https://github.com/gentilkiwi/mimikatz) - Utility to extract plaintexts passwords, hash, PIN code and kerberos tickets from memory but also perform pass-the-hash, pass-the-ticket or build Golden tickets
154157

155-
156-
Pulls credentials out of LSASS
157-
158+
* [SafetyKatz](https://github.com/GhostPack/SafetyKatz) - SafetyKatz is a combination of slightly modified version of @gentilkiwi's Mimikatz project and @subTee's .NET PE Loader.
159+
* [spraykatz](https://www.kali.org/tools/spraykatz/) - This package contains a tool without any pretention able to retrieve credentials on Windows machines and large Active Directory environments.
158160
* Can be run im memory so you dont drop and executable on the target
159161
* Commands - will give clear text pw of currently logged in users
160162
* \> C:\Tools\password\_attacks\mimikatz.exe
@@ -294,27 +296,7 @@ DCSync (Modern)
294296
* Windows credential manager
295297
* [https://github.com/peewpw/Invoke-WCMDump/blob/master/Invoke-WCMDump.p](https://github.com/peewpw/Invoke-WCMDump/blob/master/Invoke-WCMDump.ps1)
296298

297-
Group Policy Preference Vul
298-
299-
* Info for accounts under GPP stored in a Groups.xml file that contains cpassword hash.
300-
* Uses a publiclally posed Microsoft AES , easy to find, easy to use
301-
* Exploit available Under powersploit script Get-GPPPassword.ps1
302-
* Metasploit module
303-
* \>use post/windows/gather/credentials/gpp
304-
* \>set SESSION \[Session # of your shell]
305-
* \>exploit
306-
* [http://esec-pentest.sogeti.com/public/files/gpprefdecrypt.py](http://esec-pentest.sogeti.com/public/files/gpprefdecrypt.py)
307-
308-
Group Policy Preference Vul
309-
310-
* Info for accounts under GPP stored in a Groups.xml file that contains cpassword hash.
311-
* Uses a publiclally posed Microsoft AES , easy to find, easy to use
312-
* Exploit available Under powersploit script Get-GPPPassword.ps1
313-
* Metasploit module
314-
* \>use post/windows/gather/credentials/gpp
315-
* \>set SESSION \[Session # of your shell]
316-
* \>exploit
317-
* [http://esec-pentest.sogeti.com/public/files/gpprefdecrypt.py](http://esec-pentest.sogeti.com/public/files/gpprefdecrypt.py)
299+
318300
{% endtab %}
319301

320302
{% tab title="GPP Vuln" %}
@@ -361,10 +343,23 @@ Password FIlter DLL - used by Windows to enforce password strength policies.
361343
{% endtab %}
362344
{% endtabs %}
363345

346+
### AD/Remote Harvesting
347+
348+
<figure><img src="../../../../.gitbook/assets/image.png" alt=""><figcaption></figcaption></figure>
349+
364350
{% tabs %}
365-
{% tab title="Kerberoasting" %}
351+
{% tab title="Tools and Resources" %}
352+
Tools
353+
354+
* [Red Snarf](https://github.com/nccgroup/redsnarf) - RedSnarf is a pen-testing / red-teaming tool by Ed Williams for retrieving hashes and credentials from Windows workstations, servers and domain controllers using OpSec Safe Techniques
355+
* [https://www.kali.org/tools/redsnarf/](https://www.kali.org/tools/redsnarf/)
366356

357+
Resources
367358

359+
* [AD-006 - Dumping Domain Password Hashes](https://pentestlab.blog/2018/07/04/dumping-domain-password-hashes/)
360+
{% endtab %}
361+
362+
{% tab title="Kerberoasting" %}
368363
Kerberoasting
369364

370365
* Any ticeket can be requested by any user with kerberos, from the domain controller
@@ -386,15 +381,9 @@ Kerberoasting
386381
* Once extracted and on our victims machine and we can start cracking them!
387382
* use tgsrepcrack.p
388383
{% endtab %}
389-
390-
{% tab title="Second Tab" %}
391-
392-
{% endtab %}
393384
{% endtabs %}
394385

395-
{% content-ref url="ad-remote-harvesting.md" %}
396-
[ad-remote-harvesting.md](ad-remote-harvesting.md)
397-
{% endcontent-ref %}
386+
## Misc
398387

399388
<details>
400389

@@ -430,9 +419,5 @@ Kerberoasting
430419

431420
</details>
432421

433-
<figure><img src="../../../../.gitbook/assets/image (8) (2).png" alt=""><figcaption></figcaption></figure>
434-
435-
## Misc
436-
437422
* [SlackPirate](https://github.com/emtunc/SlackPirate) - Slack Enumeration and Extraction Tool - extract sensitive information from a Slack Workspace
438423
* Copy a locked file - [https://github.com/GhostPack/Lockless](https://github.com/GhostPack/Lockless)

0 commit comments

Comments
 (0)