Alex
0a8b9ddff3
Merge pull request #1511 from Pennyw0rth/neff-dont-kill
2026-11-07 18:30:22 +01:00
mpgn
1de39bf66b
Merge pull request #1486 from Pennyw0rth/rdp-screenshot-reuse-session
...
rdp: keep the login session for --screenshot, -x and -X
2026-11-07 18:29:23 +01:00
Alexander Neff
7d0074e311
Add kill option to teams db
2026-11-07 18:20:34 +01:00
Alexander Neff
6431599d0f
Formatting
2026-11-07 18:00:10 +01:00
Alexander Neff
a9e34aa904
Add instructions about protocols
2026-11-07 17:57:16 +01:00
Alexander Neff
2d3d5fb16e
Formatting
2026-11-07 17:53:51 +01:00
Alexander Neff
851e3a49c9
Formatting
2026-11-07 17:52:24 +01:00
Alex
ab4f81ad57
Merge pull request #1505 from Ryan-DV/fix/nessus-parser-protocols
...
Add parser support for extra protocols
2026-11-07 16:13:11 +01:00
Alex
3e9b1aa0db
Merge pull request #1434 from crosscutsaw/presence-fix
...
presence fix and improvement
2026-11-07 16:12:53 +01:00
Alexander Neff
bc0d65c0ad
Revert removing alternative domain/dc vars for cross domain auth
2026-11-07 16:08:09 +01:00
Alexander Neff
9c708494aa
Formatting
2026-11-07 16:03:31 +01:00
Alexander Neff
f9727f144d
Formatting
2026-11-07 15:59:53 +01:00
Alexander Neff
d7393f685c
Use kdcHost instead of manual arg
2026-11-07 15:57:18 +01:00
Alexander Neff
a4f86d270c
Formatting
2026-11-07 15:56:03 +01:00
Alex
841d7fe222
Merge pull request #1509 from 0xAnk/patch-1
...
fix(change-password): trigger null-session fallback on STATUS_USER_SESSION_DELETED
2026-11-06 08:54:14 +01:00
0xAnk
0187d86adb
fix(change-password): trigger null-session fallback on STATUS_USER_SESSION_DELETED
...
Signed-off-by: 0xAnk <[email protected] >
2026-11-06 06:00:14 +05:00
Ryan
349cbd7172
Add parser support for extra protocols
...
Signed-off-by: Ryan <[email protected] >
2026-11-02 15:42:51 +01:00
mpgn
c69c4b8ba7
rdp: fail -x/-X/--screenshot right away without credentials
2026-11-02 14:59:16 +01:00
mpgn
c8a35f7813
rdp: keep the login session for --screenshot, -x and -X
2026-11-02 14:59:09 +01:00
mpgn
f08f65a459
Merge pull request #1498 from nikaiw/fix/ldap-paging-no-ntlm
...
Always page LDAP searches, not only when NTLM is available
2026-11-01 18:46:31 +01:00
Azox
6965632b46
Merge pull request #1503 from Pennyw0rth/feat/azox-impacket-pkinit
2026-10-31 21:29:18 +01:00
azoxlpf
499219b5d9
Inline protocol checks, take the parsed username for PKINIT, drop RDP double if
2026-10-31 20:50:10 +01:00
azoxlpf
a88b16634d
Fix certificate auth regressions from review
2026-10-30 23:44:56 +01:00
mpgn
ba6a16558a
Update nxc/protocols/ldap.py
...
Signed-off-by: mpgn <[email protected] >
2026-10-30 23:42:03 +01:00
Azox
93d62e5ee2
Merge pull request #1504 from aas-n/reauth_swap-lockout-handling
2026-10-30 23:30:20 +01:00
Lyderic Lefebvre
0ad109c170
reauth_swap: clearer failure handling, lockout warning, CVE reference
2026-10-30 18:36:05 +01:00
azoxlpf
d78d3badb0
Use impacket PKINIT for certificate auth and add --unpac to SMB
2026-10-29 22:06:49 +01:00
Azox
30cf146578
Merge pull request #1494 from gzzcoo/fix/ldap-lapsv2-kerberos-rpc
2026-10-29 16:54:46 +01:00
azoxlpf
31a98e5b02
Use a single failure sentinel in LAPSv2Extract.run()
2026-10-29 15:09:23 +01:00
mpgn
69f281055e
Merge pull request #1489 from Pennyw0rth/deps-cleanup
2026-10-28 19:05:26 +01:00
mpgn
3e0f905609
Bump dploot to 4.1.3
2026-10-28 16:50:10 +01:00
Alex
8dfbc5941d
Merge pull request #1495 from aas-n/feat/reauth-swap-module
...
Add reauth_swap module: check cross-user SMB re-auth swap (enforced signing bypass viability)
2026-10-28 09:55:53 -04:00
mpgn
2943ec4fb4
Bump impacket to fortra/impacket master 3ee67be6
2026-10-28 07:08:08 +01:00
Alexander Neff
f16d0f8cf8
Remove unused imports
2026-10-28 00:26:49 +01:00
Alex
8ca80f1522
Merge pull request #1501 from Pennyw0rth/neff-uppercase-nbt-name
2026-10-27 16:02:26 -04:00
Alex
ecbf7b5dd8
Merge branch 'main' into neff-uppercase-nbt-name
2026-10-27 16:00:02 -04:00
Alex
21d14df973
Merge pull request #1500 from Pennyw0rth/neff-uppercase-nbt-name
2026-10-27 15:30:13 -04:00
Alexander Neff
6a07de72a2
Formatting and some comments
2026-10-27 20:21:41 +01:00
Alexander Neff
e48413e448
Alert the user if something goes wrong
2026-10-27 20:16:38 +01:00
Alexander Neff
3ff527b698
Use built-in smb conn reestablisher
2026-10-27 20:16:21 +01:00
Alexander Neff
8a8d4ec93e
Formatting
2026-10-27 20:07:37 +01:00
Alexander Neff
add06debbc
Formatting
2026-10-27 20:07:08 +01:00
mpgn
821c17563e
Show undecodable WAM tokens with fail()
2026-10-27 19:44:36 +01:00
mpgn
e13597cb8e
Merge pull request #1499 from Pennyw0rth/dpapi-lsa-regdump
...
Use regdump in the --dpapi LSA pass
2026-10-27 19:40:27 +01:00
Alexander Neff
468c4f93b9
Formatting
2026-10-27 19:28:12 +01:00
Alexander Neff
0e4959c10d
Formatting
2026-10-27 19:27:43 +01:00
Alexander Neff
6fbea2ae1d
Move module doc
2026-10-27 19:27:21 +01:00
Alexander Neff
e5ff59ae0a
Fix casing of hostname
2026-10-27 18:22:21 +01:00
Alexander Neff
1b9435e668
Fix casing of hostname
2026-10-27 18:19:40 +01:00
mpgn
b7565a2cbf
Drop the MSCache skip from the --dpapi LSA pass
2026-10-27 16:57:21 +01:00
mpgn
74e9fe27ed
Use regdump and skip MSCache in the --dpapi LSA pass
...
--dpapi calls lsa() without --lsa, so args.lsa is None and the
== "regdump" checks sent it to secdump: the SECURITY hive was saved to
C:\Windows\Temp and parsed over SMB. The pass also dumped the cached
domain logons, although DPAPI only needs the DPAPI_SYSTEM key. Only
pick secdump when it is asked for, and skip MSCache in the quiet pass.
2026-10-27 11:19:53 +01:00
NK and Claude Opus 4.8
62e40f2423
Always page LDAP searches, not only when NTLM is available
...
The LDAP paged search control was only sent when self.no_ntlm was
false. self.no_ntlm is set when the DC does not answer the NTLM
(sicilyNegotiate) probe during host-info collection, which is common on
hardened / Kerberos-only DCs. Whether the server speaks NTLM is
unrelated to whether it supports paging (control 1.2.840.113556.1.4.319).
impacket's LDAPConnection.search() does not page on its own: it only
loops over result pages while it receives a SimplePagedResultsControl in
the request. With no_ntlm true, NetExec passed no control, so against a
large directory AD capped the result at 1000 entries and raised
sizeLimitExceeded. The handler logs the failure and returns [], so every
large search (--kerberoasting, --users, --bloodhound, ...) silently came
back empty with "No entries found!".
Send the paged control unconditionally so all entries are retrieved
regardless of the DC's NTLM support or the bind method used.
Co-Authored-By: Claude Opus 4.8 <[email protected] >
2026-10-27 02:13:27 +01:00
mpgn
30b3a6543b
Merge pull request #1480 from Pennyw0rth/kerberos-tgt-reuse-dcom
2026-10-26 22:22:41 +01:00
mpgn
5a4ef2d5ac
Remove the LAPS screenshots from the repository
2026-10-26 21:48:28 +01:00
mpgn
02aae10963
Fix the GKDI host for --laps and pass the AES key to LAPSv2Extract
...
- laps_search() bound MS-GKDI on the scanned host (self.host/self.remoteName),
which broke --laps on smb/winrm/mssql/rdp; use the DC (kdcHost) instead
- pass the AES key so -k --aesKey can bind GKDI with Kerberos
- drop the always-true rpc_name/hasattr checks, the no-op setRemoteHost()
and the try/except around json.loads in the module
2026-10-26 21:48:22 +01:00
mpgn
9d6a6d7911
Merge pull request #1482 from Pennyw0rth/smb-exec-fast-output-poll
2026-10-26 15:08:36 +01:00
mpgn
99c88e562e
Fix the double backslash in exec output file paths
2026-10-26 13:14:34 +01:00
mpgn
73ec147399
Merge pull request #1484 from Pennyw0rth/list-modules-ast
2026-10-26 13:07:36 +01:00
mpgn
10ddc3df9d
Report exec output files that could not be deleted
...
A failed delete can leave the command output on the target: with a
blocked share, wmiexec, mmcexec and atexec still write it to
C:\Windows\Temp. Log it as an [OPSEC] fail, unless the file does not
exist.
2026-10-26 13:06:54 +01:00
mpgn
440ca60684
Reuse module_is_sane() for the static -L listing
...
The static reader repeated the checks of module_is_sane() in one long
condition. It now builds a namespace from the literal values and the
method names of the class and runs module_is_sane() on it. load_module()
no longer checks again the modules that list_modules() already checked.
2026-10-25 18:57:50 +01:00
Alexander Neff
719add5367
Formatting
2026-10-25 15:27:22 +01:00
mpgn
c2d7fdb8a5
Add missing hidden imports to the PyInstaller spec
...
Protocols and modules ship as data files, so PyInstaller never sees
their imports. The binary crashed on smb, wmi, winrm and mssql
(impacket.dcerpc.v5.tsts, nxc.helpers.dpapi, dploot.lib.network.*) and
failed to load maq, raisechild, firefox, presence, resetnightmare,
shadow-creds and mremoteng.
2026-10-24 22:23:21 +02:00
mpgn
70e385a27e
Log skipped unreadable WAM tokens in debug
2026-10-24 22:23:21 +02:00
mpgn
3b827ef2d3
Import user modules for -L and comment the static guards
...
-L listed a user module that fails at import without any error. Only the
modules shipped with nxc are now read with ast, so ~/.nxc/modules keeps
the import and its "Failed loading module" message. Also comment what
each fallback guard protects and why the static result has no options key.
2026-10-24 21:52:40 +02:00
mpgn
61287f0bf9
Move the exec output read loop into one helper
...
wmiexec, mmcexec, atexec and smbexec had four copies of the same
read/retry loop, and the wmiexec copy had already drifted (no
--get-output-tries hint, different blocked-share message). They now
call get_output_file(), where the quick-read window is a single 0.4s
deadline. smbexec keeps reading right away.
2026-10-24 21:42:04 +02:00
Alex
495d770afd
Merge pull request #1497 from Barneee/Barneee-add-arctic-wolf-enum
2026-10-23 09:52:34 -04:00
Dennis Barnekow
fdf5e491f0
Add Arctic Wolf detection to enum_av
...
Signed-off-by: Dennis Barnekow <[email protected] >
2026-10-23 15:07:48 +02:00
Lyderic Lefebvre
56e535a637
Add reauth_swap module: check cross-user SMB re-auth swap (enforced signing bypass viability)
2026-10-22 16:40:09 +02:00
Azox
e2b8c4962a
Merge pull request #1496 from Pennyw0rth/feat/azox-webdav
...
Adds CVE-2026-102217 to the enum_cve module
2026-10-22 15:42:31 +02:00
azoxlpf
913fc5ba71
Added CVE-2026-102217 check
2026-10-22 14:32:28 +02:00
mpgn
6cc7347d0f
Resync the PR after the GitHub incident
2026-10-21 19:41:01 +02:00
mpgn
d26884a540
Merge branch 'main' into kerberos-tgt-reuse-dcom
2026-10-21 17:11:05 +02:00
Alex
bd0dcf55b9
Merge pull request #1491 from Pennyw0rth/wmi_fix_checkadmin
...
Fix for #1490
2026-10-21 10:39:47 -04:00
mpgn
20731f4009
Reset the WMI TGT per attempt and reuse the TGT in the rdp module
2026-10-21 15:38:32 +02:00
Azox
2f0021c436
Merge branch 'main' into rdp-screenshot-reuse-session
2026-10-21 15:22:21 +02:00
mpgn
ae14dd2bbc
rdp: don't run -x/--screenshot after a failed login
...
rdp never set self.username, so proto_flow() treated every rdp run as one without credentials and ran -x/--screenshot even after a failed login, retrying the bad password. Set it like the other protocols do.
2026-10-21 15:12:05 +02:00
mpgn
d65d2cb51d
rdp: report screenshot errors and close the NLA probe through a local
2026-10-21 15:12:02 +02:00
gzzcoo
0da788f021
Drop unrelated LAPS command inventory change
2026-10-21 13:12:14 +02:00
gzzcoo
b8e892ae41
Add LAPS v2 before and after screenshots
2026-10-21 13:07:58 +02:00
gzzcoo
8678bf9cbb
Fix Kerberos RPC for LDAP LAPS v2
2026-10-21 12:54:30 +02:00
Alexander Neff
36e9731b2c
Remove duplicate proto log specification
2026-10-20 11:57:55 -04:00
zblurx
e55cc5d23d
ruff
2026-10-20 13:42:55 +02:00
zblurx
949ffa5439
revert first fix
2026-10-20 13:42:05 +02:00
zblurx
133e7ff5bd
Merge branch 'wmi_fix_checkadmin' of github.com:Pennyw0rth/NetExec into wmi_fix_checkadmin
2026-10-20 13:40:26 +02:00
zblurx
e6a4d9f2f0
fix wmi bruteforce bug
2026-10-20 13:40:18 +02:00
zblurx
d1464494a8
new fix for #1490
2026-10-20 13:34:55 +02:00
zblurx
df356ca087
fix for #1490
2026-10-20 10:17:16 +02:00
mpgn
ae683dba10
Merge pull request #1483 from Pennyw0rth/fix/dc-detect-rpc-plain-scan
2026-10-19 12:55:00 +02:00
mpgn
de8c1353e6
Use None instead of 0 for an unknown OS arch
2026-10-19 11:30:08 +02:00
Azox
b29b2a7e13
Merge pull request #1488 from azoxlpf/fix/schannel-no-empty-ntlm-login
...
Move the LDAP-to-SMB session to a helper and guard it on schannel
2026-10-18 22:55:27 +02:00
Azox
e1daa2936c
Merge pull request #1456 from rtpt-romankarwacik/smb_remotename_dns
...
Change SMB remoteName resolution
2026-10-18 21:59:50 +02:00
mpgn
4f9d13c27a
rdp: address review on --screenshot session reuse
...
- --screentime: single default of 5 s for --screenshot and --nla-screenshot
- run every RDP call on the per-target event loop (opened and closed in
proto_flow), and close check_nla's probe socket
- --continue-on-success: keep the session of the last successful login,
as before
- print a failure when no desktop data arrived within --screentime
2026-10-18 16:18:20 +02:00
azoxlpf
680a38e486
Move the schannel guard into the helper and return None
2026-10-18 15:52:44 +02:00
mpgn
dbc3e3cd21
Remove unused dependencies and fix wam token decoding
...
Drop beautifulsoup4, jwt, python-dateutil and flake8. The jwt package is
not PyJWT, so -M wam never decoded a token; decode the payload with the
stdlib instead. Replace relativedelta in --pso, which also fixes minutes
for durations of one hour or more.
2026-10-18 15:19:52 +02:00
azoxlpf
3e02616568
Move the LDAP-to-SMB session to a helper and guard it on schannel
2026-10-18 14:52:55 +02:00
mpgn
f0ef5d685d
rdp: honor --screentime for --screenshot
...
--screenshot always waited a fixed 5 s and ignored --screentime. Default
--screentime to None: --screenshot keeps waiting 5 s and --nla-screenshot
10 s unless --screentime is given.
2026-10-17 23:43:11 +02:00
mpgn
3db9914628
rdp: reuse the login session for --screenshot
...
--screenshot opened a second full RDP session after the login only to
grab the desktop. Run the login and the screenshot on one event loop
per target, keep the login session open for the screenshot, merge the
two screenshot-saving blocks, and stop PNG-encoding updates that
nothing reads.
2026-10-17 23:16:06 +02:00
Alexander Neff
cbb214b7e4
Merge branch 'main' into smb_remotename_dns
2026-10-17 20:52:26 +02:00
mpgn
3618aa4fbd
Read module metadata statically for -L
...
-L executed every module file to print its name, description and
category. list_modules() without names now reads that metadata with ast
(get_module_info_static), and only falls back to importing a module
when its metadata is not a plain literal.
2026-10-17 20:36:07 +02:00
mpgn
0615464f7a
Merge pull request #1083 from serwiz/maq/privileges
...
Add SeMachineAccountPrivilege to maq module
2026-10-17 20:31:14 +02:00
mpgn
17166719c6
Detect DCs over RPC on plain scans by reusing the arch probe on 135
...
get_os_arch() already connects to the endpoint mapper on port 135 for every
host, so the Netlogon lookup adds no new port. Run it before is_host_dc() and
gate the RPC tier on its result instead of probing 135 again. DCs that refuse
the null session (Server 2025 by default) are now flagged without
--generate-*, and nothing extra is sent when 135 is filtered (proxychains).
Kerberos (88) stays limited to NTLM-disabled hosts and --generate-*.
The os_arch == 0 conditions of the Samba check were always true since the
arch was only computed afterwards; drop them to keep the same result.
2026-10-17 20:28:44 +02:00
mpgn
f2dc91e16b
Merge pull request #1481 from Pennyw0rth/load-requested-module-only
...
Load only the requested module with -M
2026-10-17 20:24:04 +02:00
mpgn
f50d8d8322
Merge pull request #1464 from Pennyw0rth/fix/schtask-as-cert-cleanup
...
Fix schtask_as certreq: delete only the enrolled cert, and don't hang when the run-as user has no session
2026-10-17 19:38:15 +02:00
mpgn
23e097975a
Merge pull request #1463 from Pennyw0rth/fix/cleanup-on-failure
...
Fix leftover files on target when --sam/--lsa/lsassy fail
2026-10-17 19:37:46 +02:00
mpgn
28b9d077a3
smb exec: read the command output sooner (wmiexec, mmcexec, atexec)
...
Poll for the output file quickly during the first 0.4 s instead of
sleeping 0.4 s before the first read. Fast polls do not count against
--get-output-tries, so the retry budget is unchanged.
2026-10-17 19:28:00 +02:00
mpgn
f85c1e54ab
Load only the requested module with -M
...
-M executed every module file to find the requested one. list_modules()
now takes the requested names and only loads those files, keeping the
same precedence (NXC_PATH/modules over built-in modules).
2026-10-17 19:27:55 +02:00
mpgn
c573cdb203
Kerberos: reuse the login TGT for WMI/DCOM binds
...
With -k and a password, hash or AES key, pass the TGT obtained at login
to the WMI and DCOM binds instead of letting impacket request a new one
on every bind. An exported KRB5CCNAME is no longer used for these binds
unless --use-kcache is given.
2026-10-17 19:27:51 +02:00
serwiz
c6ff87ba0d
Fix schannel usage with MAQ module and removed policies_dn
2026-10-17 19:05:58 +02:00
Alex
e24a78f5df
Merge branch 'main' into fix/schtask-as-cert-cleanup
2026-10-17 11:54:12 -04:00
Alexander Neff
26d8fd291c
Formatting
2026-10-17 17:35:59 +02:00
Alexander Neff
adb3b48138
Formatting
2026-10-17 17:34:05 +02:00
Alexander Neff
5314ae2a00
Fix SMB args
2026-10-17 17:25:32 +02:00
Alexander Neff
6b4247eb60
Formatting
2026-10-17 17:22:18 +02:00
Alexander Neff
0b65706ea1
Formatting
2026-10-17 17:20:06 +02:00
Alexander Neff
f261dea428
Formatting
2026-10-17 17:18:17 +02:00
Alexander Neff
fd761d8371
Move login function to top of module
2026-10-17 17:17:52 +02:00
Alexander Neff
3a4630fc7b
Fix wrong if statement order
2026-10-17 16:50:05 +02:00
Alexander Neff
2ced678694
Use NetBIOS name if host does not return DNS name
2026-10-17 16:49:54 +02:00
Alex
8a502536d5
Merge pull request #1477 from 0xdf223/fix/dc-detect-no-null-session
...
Treat missing null session as inconclusive in SMB DC detection
2026-10-17 10:43:08 -04:00
oxdf and Claude Opus 5.5
35a02b4059
Treat missing null session as inconclusive in SMB DC detection
...
_is_dc_via_smb() assumed a DC with NTLM enabled always accepts a null
session, so it returned False when the null bind failed. Server 2025 DCs
refuse anonymous SMB sessions by default, so they were marked as not a DC
and the RPC/Kerberos probes never ran. This broke --generate-krb5-file and
--generate-hosts-file against those DCs.
Return None instead so the remaining probes decide.
Co-Authored-By: Claude Opus 5.5 <[email protected] >
2026-10-17 08:26:47 -04:00
Alex
98a4679a23
Merge pull request #1475 from Pennyw0rth/neff-improve-loadtime
2026-10-16 13:38:23 -04:00
mpgn
9ddb09a0bc
Merge pull request #1277 from azoxlpf/feat/add-schannel
...
add Schannel certificate authentication via --schannel
2026-10-16 19:17:32 +02:00
Alexander Neff
a5e9d4a4e5
Move CCache import as well
2026-10-16 17:48:43 +02:00
Alexander Neff
7b98eccef5
Ruff
2026-10-16 17:30:21 +02:00
Alexander Neff
a1036a1677
Load heavy imports conditionally
2026-10-16 17:28:27 +02:00
Alex
901d53ade4
Merge pull request #1473 from azoxlpf/fix/rdp-os-detection
...
Resolve RDP server OS from the NTLM build number
2026-10-16 11:26:09 -04:00
Alexander Neff
396e34fe82
Remove unused import
2026-10-16 17:22:48 +02:00
Alexander Neff
b09311a9df
Move dcom logic from connection to helpers
2026-10-16 17:22:14 +02:00
azoxlpf
62fc9a6ffa
Fall back to the raw 10.0 version for builds missing from WIN_VERSIONS
2026-10-16 12:05:48 +02:00
azoxlpf
aaaa369156
Resolve RDP server OS from the NTLM build number
2026-10-16 11:26:14 +02:00
serwiz
34bc130329
Change the way requesting LDAP to avoid removed GPO error. Now silently skipped while ACCESS DENIED still available.
2026-10-16 10:44:13 +02:00
azoxlpf
57daa0baeb
add the e2e test certificate for the Schannel commands
2026-10-16 10:01:55 +02:00
azoxlpf
7eb995f6cb
skip the database entry for certificate binds, move the --schannel argument check to netexec.py
2026-10-16 09:17:22 +02:00
serwiz
98376de004
Ruff stuff
2026-10-16 00:02:38 +02:00
serwiz
7a7d8653ba
Merge branch 'maq/privileges' of github.com:serwiz/NetExec into maq/privileges
2026-10-15 23:52:23 +02:00
serwiz
865ea743ba
Added minor improvments as suggested (remove ldap3 dependencies, verbose when ACCESS DENIED on GPO, support mixed value on GptTmpl.inf) with constants.py file included.
2026-10-15 23:50:37 +02:00
mpgn
e5d11260e3
Merge branch 'main' into maq/privileges
2026-10-15 22:53:24 +02:00
serwiz
f23ed12e80
applied priority order and resolved previous comments
2026-10-15 22:33:19 +02:00
azoxlpf
bf32ced7d7
Add e2e commands
2026-10-15 22:07:28 +02:00
azoxlpf
59c451d36f
resolve the Schannel account domain from whoami
2026-10-15 17:25:36 +02:00
mpgn
735ccc3db2
bump also poetry.lock
2026-10-15 16:01:00 +02:00
azoxlpf
bcf045a882
use impacket LDAP whoami instead of a hand-rolled extended request
2026-10-15 15:37:03 +02:00
azoxlpf
f51dd4f4df
Merge branch 'main' into feat/add-schannel
2026-10-15 15:25:12 +02:00
serwiz
df6ad2f26d
Removed empty lines
2026-10-15 13:42:52 +02:00
serwiz
a7c0968348
Review @Azoxlpf comments and enhance SeMachineAccountPrivilege Output
2026-10-15 11:17:52 +02:00
serwiz
a67f07f54e
Added Dfte patch
2026-10-15 00:40:34 +02:00
mpgn
89a698d93d
Merge pull request #1468 from Pennyw0rth/certipy-nxc
2026-10-14 20:12:24 +02:00
mpgn
6c312cd791
deps: declare certipy-nxc exclude-newer override in pyproject so CI keeps the lockfile
2026-10-14 18:21:15 +02:00
mpgn
0602ef4367
deps: replace certipy-ad git fork with certipy-nxc from PyPI
...
The Pennyw0rth/Certipy fork, synced with ly4k/Certipy main (incl. #348 ), is now published on PyPI as certipy-nxc 5.1.0.post1. The fork keeps Python 3.11 support and allows impacket 0.14.0.dev. uv.lock overrides exclude-newer for certipy-nxc so it can be locked right after publishing. Fixes pip/pipx installs, which failed after the fork was renamed.
Tested certipy-find against an AD CS lab on Python 3.11 and 3.13.
2026-10-14 18:18:46 +02:00
mpgn
a37a4438a1
fix(atexec): simplify the task-run wait with for/else, add a grace period, fail on task delete error
2026-10-13 22:42:43 +02:00
mpgn
0ae3cc9a39
fix(atexec): simplify the task-run wait, add a grace period for slow hosts, fail on task delete error
2026-10-13 22:38:12 +02:00
mpgn
39e46f2143
Move the SMB --sam/--lsa cleanup to #1465
2026-10-13 22:25:42 +02:00
mpgn
f7bc61347a
fix(lsassy,hash_spider): drop redundant try/except around ImpacketFile.delete
2026-10-13 22:21:15 +02:00
mpgn
8cd06f5434
fix schtask module
2026-10-12 22:49:50 +02:00
mpgn
db7791d60c
fix various problem
2026-10-12 19:27:59 +02:00
Alex
28e585121f
Merge pull request #1462 from Pennyw0rth/neff-improve-mssql-output
2026-10-12 00:21:42 +02:00
Alexander Neff
f7835c3ba7
Add simple visual separater
2026-10-11 18:14:03 -04:00
Alexander Neff
185c11390b
Simplify logic
2026-10-11 18:02:01 -04:00
Alexander Neff
315abab0b2
Stay with IP as remoteName if not required by Kerberos
2026-10-11 17:57:53 -04:00
mpgn
a419bd58e3
Merge pull request #1329 from Adamkadaban/rdp-exec-reliability-final
...
[Draft] Fix RDP command execution reliability
2026-10-11 18:22:53 +02:00
mpgn
893ff6f1ff
fix(rdp): non-NLA fallback for auth_only exec check + builtin TimeoutError; warn on -X too
2026-10-11 18:12:10 +02:00
mpgn
1d8296c67c
fix ruff
2026-10-11 17:39:04 +02:00
mpgn
ca96761290
Merge remote-tracking branch 'upstream/main' into rdp-exec-reliability-final
...
# Conflicts:
# nxc/protocols/rdp.py
2026-10-11 16:29:31 +02:00
mpgn
e9fd573953
Merge pull request #1348 from azoxlpf/fix/rdp-pwned-gui-access
...
Only mark RDP hosts Pwn3d when a real session actually opens
2026-10-11 16:07:45 +02:00
mpgn
93afe3e049
fix ruff
2026-10-11 16:06:29 +02:00
mpgn
f5d2c8803f
bump aardwolf
2026-10-11 15:58:12 +02:00
mpgn
90f2d9c165
Merge branch 'main' into fix/rdp-pwned-gui-access
2026-10-11 15:54:34 +02:00
mpgn
9ec65be0c8
Merge pull request #1379 from Pennyw0rth/wmi_dump
...
[WMI] Add SAM, LSA and NTDS dump
2026-10-11 10:40:12 +02:00
mpgn
c6665867bf
Merge pull request #1461 from Pennyw0rth/raisechild
2026-10-11 09:47:19 +02:00
mpgn
43c569aa8d
update lock files
2026-10-10 23:06:41 +02:00
mpgn
f8b53ae8ba
update lock files
2026-10-10 22:40:08 +02:00
mpgn
f0c40cd85d
fix raisechild module
2026-10-10 22:39:57 +02:00
Alexander Neff
311441c429
Expand remoteName to other protocols and only use FQDN if kerberos is required
2026-10-08 13:42:40 -04:00
Alexander Neff
081107a9ce
Replace undefined target variable with remoteName
2026-10-08 13:15:38 -04:00
Alexander Neff
b99fa8b8f2
Add sanitization
2026-10-08 13:13:04 -04:00
Alexander Neff
3f28024429
Add sanitization
2026-10-08 13:10:33 -04:00
Roman Karwacik
4bc98e7899
coerce_plus: use remoteName as target
2026-10-07 11:58:42 +02:00
Roman Karwacik
88ee0ce2f6
smb: Add debug message to show which ticket is being requested
2026-10-07 11:43:38 +02:00
Roman Karwacik
c501de88c8
smb: Change default SPN (remoteName) resolution to use DNS name
2026-10-07 11:43:38 +02:00
Alex
306bf295dc
Merge pull request #1453 from BepuSun/fix_rclone
2026-10-05 00:15:43 +02:00
BepuSun
0c21bf9bcd
Ketp AES.block_size in rclone.py
...
Signed-off-by: BepuSun <[email protected] >
2026-10-04 23:36:29 +02:00
BepuSun
ec6d41f10e
fix rclone padding and library
2026-10-04 15:19:41 -04:00
BepuSun
7135d89d92
fix rclone padding and library
2026-10-04 15:03:26 -04:00
Alex
94048441cb
Merge pull request #1450 from Pennyw0rth/neff-remove-py3.10
...
Remove Python 3.10
2026-10-03 01:42:17 +02:00
Alexander Neff
609f03a184
Remove py3.10
2026-10-02 19:11:08 -04:00
Alexander Neff
535f26ddc5
Update lock files
2026-10-02 18:39:13 -04:00
Alexander Neff
8f2fa9689e
Ruff fixes
2026-10-02 18:32:47 -04:00
Alexander Neff
9592f690fd
Remove py3.10
2026-10-02 18:32:29 -04:00
Alexander Neff
0ded751b31
Wording
2026-10-02 18:20:49 -04:00
Alex
8adf9cbd55
Merge pull request #1448 from snowpeacock/main
...
feat: switch --ntds vss method to remoteSSWMI
2026-10-03 00:17:08 +02:00
Alexander Neff
7a199c211f
Formatting
2026-10-02 18:12:17 -04:00
Alexander Neff
ea761c1330
Sanitize filename
2026-10-02 18:12:12 -04:00
Alex
d688285c76
Merge branch 'main' into main
2026-10-01 18:47:25 +02:00
zblurx
064374ceb9
Merge branch 'wmi_dump' of github.com:Pennyw0rth/NetExec into wmi_dump
2026-10-01 10:03:29 +02:00
zblurx
07aef24f0f
fix error with shadow copy filesize
2026-10-01 10:03:25 +02:00
Alex
3e0e37e8b5
Merge pull request #1444 from Pennyw0rth/fix-path-traversals
...
Fix all kinds of security issues
2026-09-30 21:04:49 +02:00
snowpeacock
b37469c673
feat: switch VSS method to remoteSSWMI
2026-09-30 16:06:01 +02:00
zblurx
59bfc04b7e
Merge branch 'main' into wmi_dump
2026-09-30 15:50:29 +02:00
zblurx
641ba4d486
ruff
2026-09-30 15:42:53 +02:00
zblurx
61bec860e9
change logic in wmi read_file
2026-09-30 15:41:53 +02:00
Alex
47025801b1
Merge pull request #1447 from Pennyw0rth/neff-fix-tasklist-kill
2026-09-27 23:37:06 +02:00
Alexander Neff
71c36e9a09
Fix new task format for task killing
2026-09-27 17:23:06 -04:00
Alexander Neff
6555186bce
Fix new task format
2026-09-27 17:15:13 -04:00
Alexander Neff
bb7afd4a09
Fix lock file
2026-09-27 17:14:59 -04:00
Alex
226a2f4d3e
Merge pull request #1446 from Pennyw0rth/neff-improve-PR-template
...
Enforce AI usage rules
2026-09-27 23:05:03 +02:00
Alexander Neff
e056c5a857
Enforce AI usage rules, also trim down a bit
2026-09-27 17:00:11 -04:00
Alexander Neff
d8bc2f7dc8
Remove bullshit tests
2026-09-27 16:37:38 -04:00
Alexander Neff
13d00e4b22
Losen filename restrictions to allow curly braces and fix tests
2026-09-27 16:35:38 -04:00
Alexander Neff
910415c897
Losen DNS sanitization to allow weird windows dns names
2026-09-27 16:29:23 -04:00
Alexander Neff
91b0964e75
Prevent path traversal attacks
2026-09-27 16:18:31 -04:00
Alexander Neff
4187fa7bf7
Prevent sql injection
2026-09-27 16:13:37 -04:00
Alex
74c93d147d
Merge pull request #1388 from Diogo-Damasceno/fix/ldap-query-non-entry-1349-clean
...
Fix #1349 : skip non-SearchResultEntry objects in LDAP --query
2026-09-27 22:13:25 +02:00
Alexander Neff
ba64b23ff5
Add patch by @azoxlpf fixing --query when receiving non-searchresult entries
2026-09-27 16:06:14 -04:00
Alexander Neff
752c43f0c8
Delete tests
2026-09-27 16:01:41 -04:00
Alex
641f99d192
Merge pull request #736 from Fabrizzio53/main
...
Create tombstone module
2026-09-25 16:24:09 +02:00
Alexander Neff
a47d07e005
Preserve remote filename while sanitizing local file name
2026-09-24 17:05:18 -04:00
Alexander Neff
87d34add5f
Preserve remote filename while sanitizing local file name
2026-09-24 17:04:50 -04:00
Alexander Neff
bde37055bc
Sanitize SMB download folder
2026-09-24 16:35:52 -04:00
Alexander Neff
654f3c12d8
Sanitize SMB input
2026-09-24 16:25:00 -04:00
Alexander Neff
31ca909e4e
Add tests
2026-09-24 16:19:28 -04:00
Alexander Neff
5e31253313
Sanitize SQL statements
2026-09-24 16:19:11 -04:00
Alexander Neff
150f323e90
Add DNS sanitization
2026-09-24 16:17:08 -04:00
Alexander Neff
736ca36c56
Add AGENTS.md instructions
2026-09-24 14:20:31 -04:00
Alexander Neff
25076be9df
Add tests
2026-09-24 13:17:26 -04:00
Alexander Neff
88c4963fc6
Sanitize manual NTLM challenge parsing
2026-09-24 13:17:17 -04:00
Alexander Neff
c812041b17
Apply path sanitization
2026-09-23 15:22:05 -04:00
Alexander Neff
23be541d0a
Add comments
2026-09-23 15:02:47 -04:00
Alexander Neff
a995133e83
Add path sanitizer
2026-09-23 14:57:19 -04:00
Alexander Neff
c375b3bb8c
Add DNS sanitization function
2026-09-23 14:52:09 -04:00
Alex
4134e689e0
Merge pull request #1387 from Diogo-Damasceno/fix/nxcdb-host-csv-header
...
Fix #1385 : derive nxcdb hosts CSV header from the protocol's HostsTable
2026-09-23 20:27:47 +02:00
Alex
83df61b0bd
Merge pull request #1384 from Diogo-Damasceno/fix/ssh-key-type-rejected
...
ssh: distinguish 'key type rejected by server' from invalid passphrase (issue #1356 )
2026-09-23 20:24:56 +02:00
Alexander Neff
bd87cc26ee
Remove tests file
2026-09-23 14:19:43 -04:00
Alexander Neff
1b3f75b06b
Add patch by @azoxlpf fixing nxcdb export headers
2026-09-23 14:18:27 -04:00
Alexander Neff
18a2bfa6de
Remove unused import
2026-09-23 14:13:09 -04:00
Alexander Neff
ed9fb8b33f
Formatting
2026-09-23 14:10:58 -04:00
Alexander Neff
fb0fbc197d
Merge branch 'main' into fix/ssh-key-type-rejected
2026-09-23 14:10:00 -04:00
Alexander Neff
c8394ad1d6
Add patch by @azoxlpf fixing SSH error detection if pass auth is disabled
2026-09-23 14:08:18 -04:00
mpgn
72abb0776e
Merge pull request #1441 from abdo210xl/backup-operator-bootkey
...
Added live boot key extraction to backup_operator
2026-09-23 16:55:58 +02:00
zblurx
cd956dd91f
ruff
2026-09-23 10:11:42 +02:00
mpgn
27a3a3a796
Merge pull request #1442 from Pennyw0rth/mpgn-patch-1
...
Update aardwolf dependency version
2026-09-22 23:06:01 +02:00
mpgn
ef3d4c8a76
Update aardwolf dependency version
...
Updated aardwolf dependency version to 0.2.14.
Signed-off-by: mpgn <[email protected] >
2026-09-22 22:56:22 +02:00
Alex
643c9370e5
Merge pull request #1440 from azoxlpf/fix/rdp-legacy-tls-864
2026-09-22 22:15:48 +02:00
Abdelrahman Mohamed
2f1c3e0275
Added live boot key extraction to backup_operator
...
Signed-off-by: Abdelrahman Mohamed <[email protected] >
2026-09-22 22:39:25 +03:00
azoxlpf
26568e44ab
Reach legacy RDP servers by allowing weak TLS ciphers
2026-09-22 21:37:02 +02:00
Alexander Neff
b9535e6775
Formatting
2026-09-22 13:10:45 -04:00
Alexander Neff
e3d86824ee
Improve module description
2026-09-22 13:07:01 -04:00
Alex
fdb60ae38e
Merge pull request #1258 from Dfte/add_mssql_database_listing
...
Add --list-backups allowing enumerating databases backups on MSSQL
2026-09-22 17:58:44 +02:00
Alexander Neff
a8dec3c6f7
Merge branch 'main' into add_mssql_database_listing
2026-09-22 11:49:03 -04:00
Alexander Neff
f1726b0520
Simplify logic
2026-09-22 11:46:09 -04:00
Alexander Neff
fc3fb874c0
First review pass simplifying logic
2026-09-22 11:45:41 -04:00
Alexander Neff
9bfa036013
Remove unused import
2026-09-22 11:36:05 -04:00
Alexander Neff
3e0cc700e7
Simplify action selection
2026-09-22 11:35:48 -04:00
Alexander Neff
553224031e
Simplify module args
2026-09-22 11:35:11 -04:00
Alexander Neff
421bd670d2
Remove unnecessary init
2026-09-22 11:34:12 -04:00
Alexander Neff
1920b3b515
Sort imports
2026-09-22 11:33:50 -04:00
zblurx
f55edf3987
support big files download
2026-09-22 17:07:48 +02:00
Alex
af92759b49
Merge pull request #1257 from Dfte/add_hash_dump_mssql
...
Add local database hash dump for mssql
2026-09-22 15:11:33 +02:00
crosscutsaw
d807ebd4e4
Update presence.py
2026-09-21 10:13:47 +03:00
Alex
3a7bf59909
Merge pull request #1433 from Pennyw0rth/neff-fix-backup-operator
2026-09-20 19:34:24 +02:00
crosscutsaw
8417639cda
presence-fix-improve
...
presence-fix-improve
2026-09-20 17:35:04 +03:00
Alex
12ebe0d34b
Merge branch 'main' into main
2026-09-20 14:44:25 +02:00
Alexander Neff
818985bdd3
Rename sanitizing function
2026-09-20 08:11:15 -04:00
Alexander Neff
e63a43c1f0
Improve DNS check to be compliant with referenced RFCs
2026-09-20 08:04:08 -04:00
Alex
b4ce916a03
Merge branch 'main' into fix/sanitize-ntlm-hostname
2026-09-20 13:09:20 +02:00
Alexander Neff
3808655afa
Add big timeout for backup-operator module for larger hives
2026-09-20 06:20:05 -04:00
Alex
a0a37b7af8
Merge pull request #1429 from termanix/patch-1
...
Add NTLM Authentication for getKerberosTGT on ResetNightmare Module
2026-09-19 16:39:04 +02:00
termanix
475a8419c7
Merge branch 'patch-1' of https://github.com/termanix/NetExec into patch-1
2026-09-19 15:59:57 +03:00
termanix
76486f14a5
removed double strings from getKerberosTGT
2026-09-19 15:58:16 +03:00
termanix
f0e0cc6c84
Merge branch 'main' into patch-1
2026-09-19 15:53:19 +03:00
termanix
03ae02ec01
empty strings fallback to first defined line from getKerberosTGT
2026-09-19 15:52:00 +03:00
termanix
57c5af5fc2
edit e2e
2026-09-19 15:50:13 +03:00
Alex
9eb36e489b
Merge pull request #1428 from MRX-72/fix-ssh-timeout-error
...
SSH: catch TimeoutError during login with a clean fail message
2026-09-19 13:42:04 +02:00
termanix
325cd1c73b
removed sys library, sys.exit swapped to return false
2026-09-19 10:55:52 +03:00
termanix
efb0f308e9
Comment out shadow-cred and resetnightmare
...
Signed-off-by: termanix <[email protected] >
2026-09-19 10:51:25 +03:00
termanix
3299d94e92
misleading naming
2026-09-18 17:35:28 +03:00
termanix
4f6ef43aca
edit e2e_commands
2026-09-18 15:12:21 +03:00
termanix
ff52856d2e
Add NT hash usage on example line
2026-09-18 15:10:24 +03:00
termanix
99c65e87b0
Add NTLM Auth for getKerberosTGT
2026-09-18 21:53:31 +03:00
Mrx
60b3a5d3d0
SSH: catch TimeoutError during login with a clean fail message
...
plaintext_login() only caught AuthenticationException and SSHException
before falling through to the generic Exception handler, which logs via
logger.exception() and dumps a full traceback. A connection timing out
mid-login is routine on a target sweep, not something that needs a stack
trace, and smb.py already treats TimeoutError this way elsewhere in the
codebase.
Fixes #358
2026-09-18 13:45:47 +05:30
mpgn
22840bfc2a
Merge pull request #1427 from Pennyw0rth/dpapi_logging_fix_v2
...
Revert "Revert "[DPAPI] Fix logging origin in dpapi related modules""
2026-09-15 22:10:44 +02:00
mpgn
615a501dff
uv lock update with newer correct time
2026-09-15 22:01:07 +02:00
mpgn
5f5aa26a46
Revert "Revert "[DPAPI] Fix logging origin in dpapi related modules""
...
This reverts commit 11d9151737 .
2026-09-15 21:57:34 +02:00
mpgn
85aa3486d8
Merge pull request #1426 from Pennyw0rth/revert-1423-dpapi_logging_fix
...
Revert "[DPAPI] Fix logging origin in dpapi related modules"
2026-09-15 21:44:20 +02:00
mpgn
11d9151737
Revert "[DPAPI] Fix logging origin in dpapi related modules"
2026-09-15 21:41:48 +02:00
mpgn
a43afcee4f
Merge pull request #1423 from Pennyw0rth/dpapi_logging_fix
...
[DPAPI] Fix logging origin in dpapi related modules
2026-09-15 21:41:06 +02:00
Alexander Neff
df9c32276a
Update lock files
2026-09-15 14:46:59 -04:00
Alexander Neff
47af3a022c
Formatting
2026-09-15 14:46:29 -04:00
zblurx
4fd05318df
check filesize and warn user if too big
2026-09-14 17:57:44 +02:00
zblurx
e193097969
adapt LSA dump to dpapi upgrade
2026-09-14 16:44:43 +02:00
zblurx
5b83b43486
Merge branch 'main' into wmi_dump
...
Signed-off-by: zblurx <[email protected] >
2026-09-14 16:26:39 +02:00
zblurx
d542b20224
fix logging origin in dpapi related modules
2026-09-14 16:11:15 +02:00
Alex
d4cdc6c019
Merge pull request #1421 from rtpt-romankarwacik/ldap_signing_except
2026-09-14 13:38:44 +02:00
Roman Karwacik
3746e0d8cc
Catch LDAP connection errors while checking for signing
2026-09-14 13:09:30 +02:00
Alex
81e53ecb9c
Merge pull request #1419 from Pennyw0rth/neff-fixes
...
Add a bunch of small fixes
2026-09-14 00:26:58 +02:00
Alexander Neff
310979ab59
Merge branch 'main' into neff-fixes
2026-09-13 18:20:28 -04:00
Alexander Neff
852549566c
Merge branch 'main' into add_mssql_database_listing
2026-09-13 18:11:15 -04:00
Alexander Neff
d5e04789c4
Formatting
2026-09-13 18:10:32 -04:00
Alexander Neff
db63325450
Merge branch 'main' into add_hash_dump_mssql
2026-09-13 18:04:21 -04:00
mpgn
7bd77885b7
Merge pull request #1327 from Pennyw0rth/dpapi_upgrade
...
[dploot upgrade] Add --dpapi on WMI, WINRM and MSSQL protocols
2026-09-13 23:57:08 +02:00
mpgn
aecf64dbc7
uv lock update
2026-09-13 23:55:34 +02:00
Alexander Neff
0b3f805283
Change negative expression logging message
2026-09-13 17:46:37 -04:00
Alex
d3c3ca9dea
Merge pull request #1259 from Dfte/refactor_list_database
...
Refactor the --database argument to comply with security checks
2026-09-13 23:44:32 +02:00
Alexander Neff
a6017269af
Fixing wrongfully string decoding
2026-09-13 17:42:00 -04:00
Alexander Neff
ee3dd5e0e6
Formatting
2026-09-13 17:35:47 -04:00
Alexander Neff
490d7397f2
Formatting
2026-09-13 17:33:16 -04:00
Alexander Neff
f1078b6622
Use dploot pypi version
2026-09-12 12:36:36 -04:00
Alexander Neff
e5b7a5f3b4
Merge branch 'main' into dpapi_upgrade
2026-09-12 09:40:34 -04:00
Alexander Neff
164f35dddd
Catch Exception if software is not installed
2026-09-12 09:32:00 -04:00
Alexander Neff
4e2c0a60d4
Rename 'context' to 'connection' so it is in line with modules
2026-09-12 09:24:34 -04:00
Alexander Neff
9249bb3834
Fix remoteng execution
2026-09-12 09:21:14 -04:00
Alexander Neff
317840f6df
Remove unused functions and imports
2026-09-12 09:12:05 -04:00
Fabrizzio53
44267c807f
Recover the description field of deleted objects
...
Added new code to recover the description (if active) from deleted objects
Signed-off-by: Fabrizzio53 <[email protected] >
2026-09-11 17:24:46 -03:00
Alexander Neff
44cc9f1333
Ruff
2026-09-11 17:54:56 +02:00
Alexander Neff
333ec792f0
lock file hash
2026-09-11 17:36:36 +02:00
Alexander Neff
a92275586e
Fix crash if NTLM is unavailable
2026-09-11 17:36:10 +02:00
Alexander Neff
32469fea8b
Fix bloodhound collection if signing and cbt is enforced
2026-09-11 17:35:39 +02:00
Alexander Neff
5823cdba20
Add ftp --cat command
2026-09-11 17:34:32 +02:00
Alexander Neff
a7626dd2c4
Improve ftp host banner and session closing
2026-09-11 17:34:12 +02:00
Alexander Neff
6b5f557736
Remove useless share listing
2026-09-11 17:33:24 +02:00
Alexander Neff
40abafc41b
Add some padding for user descriptions
2026-09-11 17:32:45 +02:00
Alexander Neff
6c29f3c6e4
Fix error handling of impacket/rpcrt
2026-09-11 17:32:26 +02:00
Alexander Neff
c3122a9487
Add generic exception handler for ConnectionRefused
2026-09-11 17:29:41 +02:00
mpgn
e6deadf5c7
Merge pull request #1413 from Natasha-B/fix-ldap-check
...
Fix false positives on ldap signing and cbt checks when NTLM is disabled
2026-09-11 11:58:39 +02:00
mpgn
dde1482435
Fix conditional check for signing_required
...
Signed-off-by: mpgn <[email protected] >
2026-09-11 11:56:16 +02:00
Natasha-B
ff987ee634
Fix false positives on ldap signing and cbt checks when NTLM is disabled
2026-09-10 17:30:58 +02:00
Alex
c72f2ca98e
Merge pull request #1390 from XiaoliChan/wmi-reuse-fix
...
[WMI] Reuse DCOM fix
2026-09-09 22:31:19 +02:00
Alexander Neff
402615522e
Merge branch 'main' into wmi-reuse-fix
2026-09-09 16:22:22 -04:00
Alex
5d9ea3a0ad
Merge pull request #1410 from Pennyw0rth/neff-fix-encoding
...
Change CRLF to LF of bitlocker file module
2026-09-09 22:19:21 +02:00
Alexander Neff
c612a1347a
Change CRLF to LF
2026-09-09 16:15:08 -04:00
mpgn
90efb2a9f3
Merge pull request #1321 from Goultarde/feature/trust-keys
2026-09-09 22:06:24 +02:00
Marshall Hallenbeck
444cea83c6
Merge pull request #1190 from Pennyw0rth/feat/smb-get-folder
...
add --get_folder functionality
2026-09-09 15:48:58 -04:00
mpgn
8073a798e0
update lock files
2026-09-09 21:19:39 +02:00
mpgn
6699b40757
Merge branch 'main' into feature/trust-keys
2026-09-09 21:10:00 +02:00
Goultarde
98d0549ae1
Respect history for TDO trust keys
2026-09-09 21:07:25 +02:00
mpgn
8230e9a2d3
fix from update of impacket
2026-09-09 20:54:05 +02:00
Alexander Neff
0cc365cef2
Formatting
2026-09-09 12:27:16 -04:00
Alexander Neff
b328661dd4
Formatting
2026-09-09 11:59:07 -04:00
Alexander Neff
7fd40a391c
Formatting
2026-09-09 11:51:41 -04:00
Alexander Neff
467123465a
Formatting
2026-09-09 11:48:41 -04:00
Alexander Neff
0de205c95f
Fix lock files
2026-09-09 11:45:47 -04:00
zblurx
887941fc50
Merge branch 'main' into wmi_dump
...
Signed-off-by: zblurx <[email protected] >
2026-09-09 10:47:47 +02:00
zblurx
5e95c3490e
revert impacket dep to the original repo
2026-09-09 10:41:47 +02:00
Alex
ccef3a75b0
Merge pull request #1408 from r4vanan/main
2026-09-09 09:55:13 +02:00
r4vanan
4ae0dd723b
Fix spelling mistakes across multiple files
2026-09-08 22:52:26 -04:00
Alex
d640fb78b8
Merge pull request #1233 from x-way/fix-empty-dir-spider
...
Fix handling of empty SMB share folder
2026-09-06 22:19:34 +02:00
Alex
e969f23757
Merge pull request #1403 from Pennyw0rth/neff-add-clean
...
Shadow Creds Clear command
2026-09-06 21:53:01 +02:00
Alexander Neff
f1e6b38574
Add clear command to shadow-creds module
2026-09-06 15:05:07 -04:00
Alexander Neff
c98846379f
Provide information about excluded hosts more verbosly
2026-09-06 13:41:37 -04:00
Alexander Neff
766c221f10
Trim down on info logs so we can see only valid hosts
2026-09-06 13:39:50 -04:00
Alex
7f5f869de0
Merge pull request #1204 from Dfte/add_exclude_options
2026-09-06 15:56:57 +02:00
XiaoliChan
eee763caad
bitlocker module: reuse the wmi protocol connection instead of a second DCOMConnection
...
Same pattern as the rdp module fix: BitLockerWMI creates its own
DCOMConnection to the same target the wmi protocol already holds one
for, and disconnecting it removes the shared INTERFACE.CONNECTIONS
thread entry, so the protocol-level disconnect afterwards raises
KeyError on impacket versions that do not guard it. Reuse the
protocol's IWbemLevel1Login instead - over smb nothing changes.
2026-09-05 19:56:39 +08:00
XiaoliChan
26e2007d77
rdp module: reuse the wmi protocol connection instead of a second DCOMConnection
...
When running over the wmi protocol the module now reuses the protocol's
authenticated IWbemLevel1Login instead of creating its own
DCOMConnection to the same target - whose disconnect would clash with
the protocol's own on impacket versions that do not guard the
INTERFACE.CONNECTIONS thread entry (KeyError: ThreadPoolExecutor-x_x).
Over smb nothing changes: the module still creates its own
DCOMConnection since the protocol has none.
2026-09-05 19:56:39 +08:00
Diogo_Damasceno
59d29c895a
Fix #1349 : skip non-SearchResultEntry objects in LDAP --query
...
The `query()` loop iterated the parsed response but indexed the raw
response with `resp[idx]`, bumping `idx` in a way that never skipped the
current iteration. When the LDAP server returned a non-SearchResultEntry
object (e.g. a SearchResultReference), the code crashed with a TypeError
('<' not supported between instances of 'str' and 'int' / object not
subscriptable).
Now we iterate the raw response directly, `continue` on anything that is not
a `SearchResultEntry`, and read `objectName` from the real entry. The
display logic is unchanged for valid entries.
Added tests/test_ldap_query_iteration.py covering the skip behaviour.
Verified on Python 3.14.7.
2026-09-04 08:29:02 -03:00
Diogo_Damasceno
ce33ac0f8d
Fix #1385 : derive nxcdb hosts CSV header from the protocol's HostsTable
...
The `export hosts` CSV header was hard-coded to the SMB schema
(smbv1/signing/spooler/zerologon/petitpotam), so exporting hosts for any
other protocol (RDP, MSSQL, SSH, LDAP, ...) produced a header that did not
match the row content.
Now the header is derived from the active protocol's HostsTable columns via a
new `host_csv_headers()` helper, as suggested in the issue: default to the
real column names instead of static SMB strings. `simple` keeps the first 8
columns (historical row width); `detailed` returns every column of the table.
No unrelated formatting changes.
Added tests/test_nxcdb_host_export.py covering SMB (no regression) and RDP
(no SMB-only columns leak into the header). Verified on Python 3.14.7.
2026-09-04 08:14:08 -03:00
zblurx
2fc046558c
Merge branch 'main' into dpapi_upgrade
2026-09-03 16:35:46 +02:00
Diogo_Damasceno
2e96341424
ssh: distinguish 'key type rejected by server' from invalid passphrase (issue #1356 )
...
When an sshd server rejects a public key because its algorithm is not in
PubkeyAcceptedAlgorithms (e.g. server allows only ssh-ed25519 while the
key is RSA), Paramiko raises with a message such as 'Auth rejected:
pubkey algorithm ... unsupported or disabled' or 'Unable to agree on a
pubkey algorithm ...'. These were previously surfaced as the misleading
'Could not decrypt private key, invalid password'.
Add _is_key_type_rejected() and use it in plaintext_login() so the user
gets a clear 'Key type rejected by server (pubkey algorithm not allowed)'
message, while wrong-passphrase and encrypted-key cases keep their
existing behavior.
Add tests/test_ssh_key_type_rejection.py covering the real Paramiko 5.x
rejection messages and asserting the existing cases are not misclassified.
2026-09-03 11:21:25 -03:00
Andreas Jaggi
28e1ad17b4
Fix handling of empty SMB share folder
2026-09-02 15:56:10 +00:00
Alex
ee0e488d43
Merge pull request #1368 from Pennyw0rth/neff-add-shadow-creds
2026-09-02 15:56:51 +02:00
Alexander Neff
5800ec5fbb
Add prompt if exclusion exists but target is hostname
2026-09-01 14:56:32 -04:00
Alexander Neff
883921d2c8
Ensure that excluded hosts are valid IPs
2026-09-01 14:36:46 -04:00
Alexander Neff
2fbbd244a4
Add netifaces to lock files
2026-09-01 14:28:31 -04:00
Alexander Neff
ac84b7dd94
Formatting
2026-09-01 14:27:50 -04:00
Alexander Neff
336738bd58
Move target parsing to helper functions
2026-09-01 14:26:18 -04:00
Alexander Neff
c0536ccd72
Add comment back
2026-09-01 14:18:32 -04:00
Alexander Neff
fc30724918
Add IPv6 self exclusion
2026-09-01 14:17:55 -04:00
Alexander Neff
a7e55ffbf4
Formatting
2026-09-01 14:17:25 -04:00
Alexander Neff
6dc9e9d505
Make IP exclusion list additive instead of overwriting itself
2026-09-01 14:17:09 -04:00
Alexander Neff
5f53ae99fd
Formatting
2026-09-01 13:28:05 -04:00
mpgn
978270ad00
Add default value to --trust-keys argument
...
Set default value for --trust-keys argument to True.
Signed-off-by: mpgn <[email protected] >
2026-08-31 21:49:41 +02:00
mpgn
9e94f58081
simplify the logic and fix regression
...
Signed-off-by: mpgn <[email protected] >
2026-08-31 21:45:18 +02:00
Deft_
db807bb938
Merge branch 'main' into add_exclude_options
...
Signed-off-by: Deft_ <[email protected] >
2026-08-31 17:19:36 +02:00
Aurélien CHALOT
cb351cf890
Add support for IPv6
2026-08-31 17:02:52 +02:00
Aurélien CHALOT
9817aadfbb
Add --exclude-hosts and --skip-self overwriting nxc.conf file
2026-08-31 16:57:28 +02:00
zblurx
4bf5abdcdc
ruff
2026-08-31 12:39:54 +02:00
zblurx
961f4e5028
enhance use of credentials in db
2026-08-31 11:52:05 +02:00
zblurx
6ee4802743
fix dploot_connection upgrade debug log message
2026-08-31 11:09:07 +02:00
zblurx
42fe6b4840
remove print
2026-08-31 10:51:40 +02:00
zblurx
7308add93f
Merge branch 'dpapi_upgrade' of github.com:Pennyw0rth/NetExec into dpapi_upgrade
2026-08-31 10:41:38 +02:00
zblurx
a9b8cf8e0a
add highlight in log_secret and set output_file in init
2026-08-31 10:40:21 +02:00
Alexander Neff
ff3d4937b4
Merge branch 'main' into dpapi_upgrade
2026-08-30 11:58:09 -04:00
Alex
2bdc7e5e52
Merge pull request #1362 from amikuss/fix/ldap-groups-memberof-fallback
2026-08-30 03:19:00 +02:00
zblurx
b114c644c5
showing machine keys if collected
2026-08-28 11:36:03 +02:00
zblurx
0d2af8bdd5
added display message when dump LSA
2026-08-28 11:28:45 +02:00
zblurx
78d607b84b
fix issue with default shadow_id value
2026-08-27 16:35:55 +02:00
zblurx
34b7a35118
ruff
2026-08-27 13:00:20 +02:00
zblurx
48cc6b0e30
added --use-snapshot-id arg
2026-08-27 12:54:15 +02:00
zblurx
65f4714953
add ntds dump
2026-08-27 12:44:06 +02:00
zblurx
3c52ecb40e
create wmi RemoteOperation class
2026-08-27 11:48:08 +02:00
zblurx
ee9f59e513
refacto namespace loading
2026-08-27 10:45:24 +02:00
zblurx
b6f20e40b9
ruff
2026-08-26 18:04:11 +02:00
zblurx
ab4a44cf4d
update poetry lock
2026-08-26 18:00:58 +02:00
zblurx
4711814adb
add sam and lsa dump
2026-08-26 18:00:09 +02:00
zblurx
a819614fc2
add get_file
2026-08-26 17:08:11 +02:00
Marshall Hallenbeck
fd9ebe9057
Merge pull request #1376 from Pennyw0rth/fix/vnc-connection-timeout
...
fix(vnc): bound the connection so an unresponsive server cannot hang the scan
2026-08-25 13:48:53 -04:00
Alex
fc970ca7df
Merge pull request #1378 from Pennyw0rth/neff-fix-dploot-version
...
Restrict dploot to v3
2026-08-25 19:32:04 +02:00
Alexander Neff
6f7e0a81bc
Restrict dploot to v3
2026-08-25 13:12:56 -04:00
Alex
e9c2c66a9b
Merge pull request #1377 from Pennyw0rth/neff-add-nfs-cat
...
Add --cat argument for NFS
2026-08-25 18:16:38 +02:00
Alexander Neff
c013e02e81
Add --cat argument for nfs
2026-08-25 12:08:36 -04:00
Marshall Hallenbeck
a5fe3ba13f
fix(vnc): bound the connection so an unresponsive server cannot hang the scan
...
A VNC server that completes the TCP connect and then stops responding during the
RFB handshake left `await self.conn.connect()` outstanding forever, with no
output and no error. On one engagement a single host held a run for the full
hour its external timeout allowed, and nothing was scanned in that time.
The target timeout alone does not cover this: the connect succeeds, so the hang
is in the handshake that follows. RDP already bounds the equivalent call with
`asyncio.wait_for` and exposes `--rdp-timeout`; VNC now does the same through
`--vnc-timeout`, which is also passed to RDPTarget.
A timeout is reported as a timeout rather than as a rejected password, because
nothing was authenticated. It is caught as `asyncio.TimeoutError`, which is only
an alias of the builtin from Python 3.11 and this project supports 3.10.
Claude-Session: https://claude.ai/code/session_01BrqBUZro8vxfBMGniTyfDV
2026-08-25 08:00:18 -04:00
zblurx
0de1fc8cd5
change function name to log_secret to make it clearer
2026-08-25 12:08:38 +02:00
zblurx
92e61efe14
Fix the open file to append instead of overwrite
2026-08-25 11:55:19 +02:00
zblurx
01536dc628
ruff
2026-08-25 11:51:40 +02:00
zblurx
8e4fc22290
move it closer to dpapi stuff, easier to read
2026-08-25 11:50:42 +02:00
zblurx
1d06afcc84
only rely on kdcHost for backupkey recovery
2026-08-25 11:47:50 +02:00
zblurx
c5ab84af01
added lsa quiet mode
2026-08-25 11:37:40 +02:00
zblurx
cb7d22ccbc
modify output_file and counter management
2026-08-25 11:22:46 +02:00
zblurx
473e33352e
update args pvk
2026-08-25 10:02:25 +02:00
Alexander Neff
4a2c8d433d
Make output logic clear and add dn fallback
2026-08-24 17:16:56 -04:00
Alexander Neff
b7ba0f929e
Adjust query such that we don't query all objects and don't fail on external references
2026-08-24 17:16:18 -04:00
Alex
8a7edb5636
Merge branch 'main' into fix/ldap-groups-memberof-fallback
2026-08-24 21:40:51 +02:00
Alex
09342c190d
Merge pull request #1375 from Pennyw0rth/neff-add-agents.md
...
Add AGENTS.md file for guiding LLM agents
2026-08-24 10:00:23 +02:00
Alexander Neff
2c44f785ec
Name full path
2026-08-24 08:03:48 +02:00
Alexander Neff
35bf9d183e
Fix linting
2026-08-23 09:44:49 -04:00
Alexander Neff
b5da832c31
Add legacy path for mremoteng conf files
2026-08-23 09:42:51 -04:00
Alexander Neff
d4ee81fa3f
Update lock file
2026-08-23 08:36:12 -04:00
Alexander Neff
79e14ea61e
Update lock file
2026-08-23 08:35:43 -04:00
Alexander Neff
31428e9674
Merge branch 'main' into dpapi_upgrade
2026-08-23 08:34:40 -04:00
Alexander Neff
8fbadf4d0f
Remove unused import
2026-08-23 07:30:42 -04:00
Alexander Neff
60aab5c60d
Don't manually exit, but return False for invalid module options
2026-08-23 07:28:30 -04:00
Alexander Neff
ccfaf5852c
Remove overrestrictive instruction
2026-08-23 07:23:32 -04:00
Alex
dfcbdb9fff
Merge branch 'main' into neff-add-shadow-creds
2026-08-23 13:08:41 +02:00
Alexander Neff
676361ae8c
Add AGENTS.md file for guiding agents
2026-08-23 07:07:25 -04:00
Alex
7751cb8f1f
Merge pull request #1346 from azoxlpf/fix/module-options-validation
...
Allow modules to abort the run by returning False from options()
2026-08-23 11:42:17 +02:00
amikuss
40c4c124b3
refactor(ldap): split all-groups/specific-group search logic
2026-08-20 09:52:08 +02:00
Alexander Neff
e0a3f1a1db
Restrict exception handling to LDAPSessionError caused by unsifficient privs
2026-08-20 09:51:01 +02:00
Alexander Neff
a5b525037a
Fix string comparison on DeviceID
2026-08-20 09:43:41 +02:00
Marshall Hallenbeck
73b4dba6d2
Merge branch 'main' into feat/smb-get-folder
2026-08-19 17:49:07 -04:00
Alexander Neff
1b30d2ed01
Allow non-computer accounts
2026-08-16 17:52:13 -04:00
Alexander Neff
32e6d5a8b7
Display Device ID first
2026-08-16 17:47:48 -04:00
Alexander Neff
8943e65a9e
Improve info output
2026-08-16 17:47:37 -04:00
Alexander Neff
33080a917c
Just export raw ldap value to bypass dsinternals issues
2026-08-16 17:43:06 -04:00
Alexander Neff
fb8b3e41c7
Add more tests and adjust encoding
2026-08-16 17:21:00 -04:00
Alexander Neff
96ce28cc4a
Add backup and revert functions
2026-08-16 17:14:06 -04:00
Alexander Neff
18f0e5ffc5
Add stub e2e tests
2026-08-16 16:30:16 -04:00
Alexander Neff
3114333d27
First draft of shadow-creds
2026-08-16 16:30:09 -04:00
azoxlpf
14f10c31f8
ignore -u with --schannel and name the auth method in the connect log
2026-08-16 17:56:10 +02:00
Alex
ca426d081a
Merge pull request #1367 from Pennyw0rth/neff-fix-open-calls
...
Use context manager for file operations
2026-08-16 16:46:03 +02:00
azoxlpf
1b1e9c5d6a
signal module options() abort via exception instead of None
2026-08-16 16:45:28 +02:00
Alex
dc2c3b4f87
Merge branch 'main' into neff-fix-open-calls
2026-08-16 16:44:18 +02:00
Alex
05f1411ea2
Merge pull request #1359 from Pennyw0rth/neff-py3.14
...
Prepare Python 3.14 compatability
2026-08-16 16:29:37 +02:00
Alexander Neff
09bfaaf36f
Use context manager for file operations
2026-08-16 09:44:05 -04:00
Alexander Neff
2460151e66
Update ruff
2026-08-16 09:25:18 -04:00
Alexander Neff
a60a86ced5
Fix linting
2026-08-16 09:25:09 -04:00
Alexander Neff
f212317986
Update lock file
2026-08-16 09:20:08 -04:00
Alexander Neff
3f317d989b
Fix linting
2026-08-16 09:15:21 -04:00
Alexander Neff
e743cd0496
Fix file handle stuff
2026-08-16 08:06:13 -04:00
Alexander Neff
e6ad90b79c
Exclude rule that forces rule names instead of codes
2026-08-16 08:02:57 -04:00
Alex
698abd40df
Merge pull request #1365 from Macbucheron1/fix/bloodhound-target-domain
...
fix: use target domain for bloodhound collection
2026-08-16 12:35:33 +02:00
Adam Hassan
5b1ee92773
fix(rdp): only warmup .NET runtime when output is needed
2026-08-16 02:12:22 -07:00
Adam Hassan
ab7c2d56d3
fix(rdp): prime .NET runtime to eliminate cold-start timeout on Win11
2026-08-16 02:12:22 -07:00
Adam Hassan
5d45303e19
fix(rdp): return None from clipboard timeout, not empty string
2026-08-16 02:12:21 -07:00
Adam Hassan
ac6f58149f
fix(rdp): use auth_only connect to prevent Win11 clipboard failure
2026-08-16 02:12:21 -07:00
Adam Hassan
78169e8354
fix(rdp): preserve protocol overrides and kerberos logging
2026-08-16 02:12:21 -07:00
Adam Hassan
22db44f380
fix: terminate connection on connect failure to prevent socket leak
2026-08-16 02:12:20 -07:00
Adam Hassan
2aa0601c88
docs: clarify supported_protocols reset
2026-08-16 02:12:20 -07:00
Adam Hassan
ae77d482b9
docs: add inline comments for clipboard sync and PS launcher
2026-08-16 02:12:20 -07:00
Adam Hassan
9bba4a1013
fix(rdp): support legacy PowerShell clipboard access
2026-08-16 02:12:20 -07:00
Adam Hassan
5b6647b4d0
fix(rdp): stabilize headless command execution
2026-08-16 02:12:19 -07:00
Mac
38a5f36c0b
fix: use target domain for bloodhound collection
2026-08-15 12:56:41 +02:00
amikuss
7d742355f5
fix(ldap): resolve group members via 'member' fallback for missing 'memberOf' backlinks
2026-08-13 10:40:25 +02:00
zblurx
daed14661a
update docstrings in dpapi.py helper
2026-08-12 13:49:32 +02:00
Alexander Neff
85e6e625b1
Update lock file
2026-08-11 16:19:23 -04:00
Alexander Neff
8429767dd4
Update github cli to py3.14
2026-08-11 16:16:32 -04:00
Marshall Hallenbeck
af9bb8753c
Merge pull request #1357 from Pennyw0rth/fix/e2e-commands-stale-modules
...
fix(tests): remove nonexistent safe_shares and fix mssql_dumper module name in e2e tests
2026-08-11 09:56:24 -04:00
Marshall Hallenbeck
414b8c8dd2
fix(tests): remove nonexistent safe_shares and fix mssql-dumper module name in e2e tests
...
- Remove safe_shares module tests (lines 155-157) — this module never
existed in the codebase, causing 3 guaranteed failures
- Rename mssql-dumper to mssql_dumper (lines 300-302) — the module
uses an underscore, not a hyphen
2026-08-11 09:23:35 -04:00
Alex
46dd7d5559
Merge pull request #734 from termanix/patch-1
...
New LDAP Flag Listing OUs
2026-08-11 05:29:28 +02:00
Alexander Neff
43ada51519
Formating
2026-08-10 23:26:28 -04:00
Alexander Neff
03bbb03aba
Formating
2026-08-10 23:23:27 -04:00
Alexander Neff
b69f2b39af
Improve help text
2026-08-10 23:20:58 -04:00
Alexander Neff
205eb8c334
Formating
2026-08-10 23:20:33 -04:00
Alexander Neff
1dacb3b95d
Provide header for user listing
2026-08-10 23:20:19 -04:00
Alexander Neff
752fa37062
Linting
2026-08-10 15:49:30 -04:00
Alex
b37a328514
Merge branch 'main' into patch-1
2026-08-10 21:33:30 +02:00
azoxlpf
d950a5cc13
share one certificate loader between PKINIT and Schannel
2026-08-09 17:27:22 +02:00
Azox
163139b115
Merge branch 'main' into feat/add-schannel
2026-08-09 17:02:20 +02:00
mpgn
c005376d70
Merge pull request #1345 from Pennyw0rth/remove-oscrypto-dependency
2026-08-08 11:49:07 +02:00
mpgn
fb722fc351
fix review code
2026-08-07 19:19:55 +02:00
mpgn
ba239aaa5f
Merge pull request #1352 from azoxlpf/feat/add-resetnightmare-module
...
Add ResetNightmare module
2026-08-07 19:05:57 +02:00
azoxlpf
417c051c0d
add to e2e_commands.txt
2026-08-07 18:51:41 +02:00
azoxlpf
0f8a9abcca
add Errors
2026-08-07 18:44:49 +02:00
mpgn
a9eeafd20e
Merge pull request #1350 from azoxlpf/feat/add-ResetNightmare-to-enum_cve
...
Add ResetNightmare to enum_cve
2026-08-07 17:23:41 +02:00
mpgn
106448304f
Merge pull request #1351 from Pennyw0rth/fixntlm
...
Fix check isdc is not ntlm
2026-08-07 09:47:25 +02:00
azoxlpf
52d0196492
Add ResetNightmare module
2026-08-06 22:21:35 +02:00
mpgn
23e412b1ff
fix check isdc if no ntlm
2026-08-06 21:13:58 +02:00
mpgn
45fb4e9b0c
fix check isdc if no ntlm
2026-08-06 20:54:41 +02:00
mpgn
57fe370cf9
fix check isdc if no ntlm
2026-08-06 20:53:32 +02:00
mpgn
9486274f96
fix check isdc if no ntlm
2026-08-06 20:29:18 +02:00
azoxlpf
24c480657a
Add ResetNightmare to enum_cve
2026-08-06 19:57:04 +02:00
Marshall Hallenbeck
4c3e407b30
fix: remove unused _StoreAction import ( #1190 )
...
Refs #1190
2026-08-05 17:56:13 -04:00
azoxlpf
130c668de8
Only mark RDP hosts Pwn3d when a real session actually opens
2026-08-05 22:21:57 +02:00
Marshall Hallenbeck
482c26631d
fix: resolve merge conflicts with main ( #1190 )
...
Merge upstream import changes in smb.py and proto_args.py while
preserving --get-folder feature additions.
Refs #1190
2026-08-05 15:28:01 -04:00
azoxlpf
cfee504986
allow modules to abort the run by returning False from options()
2026-08-04 18:12:24 +02:00
mpgn
00811f26cc
removing oscrypto
2026-08-02 23:14:45 +02:00
mpgn
9d43cf71ea
Merge pull request #1344 from Pennyw0rth/fix-uv-lock-impacket-source
...
Sync uv lock with fortra
2026-08-02 23:00:11 +02:00
mpgn
80c22d4611
update uv lock
2026-08-02 22:39:39 +02:00
zblurx
395bad514d
using function returned values instead of counter
2026-08-02 22:34:48 +02:00
zblurx
a34140e7c1
ruff
2026-08-02 22:29:40 +02:00
zblurx
2f11e2f41e
few changes related to reviews
2026-08-02 22:22:25 +02:00
Alex
1ae944ff07
Merge pull request #654 from crosscutsaw/rclone
...
new module: smb > rclone
2026-08-02 15:56:28 +02:00
Alexander Neff
100f3a1428
Fix dpapi key output in lsa
2026-08-01 17:40:49 -04:00
Alexander Neff
7a8b85406a
Merge main
2026-08-01 16:29:44 -04:00
Alex
61bfc61bb8
Merge pull request #1337 from Mauriceter/fix_gpppriv
...
fix ldap resolution failure in GPP_Privileges module
2026-08-01 22:22:17 +02:00
Alexander Neff
5f109a4bcd
Functionalize basedn query
2026-08-01 16:20:30 -04:00
Alex
738b842ab4
Merge pull request #1343 from Pennyw0rth/neff-add-documentation
2026-07-31 17:34:04 +02:00
Alex
a093f3a33a
Fixing an ancient typo
2026-07-31 17:22:11 +02:00
mpgn
a3dca37946
Merge pull request #1317 from Pennyw0rth/isdc
...
Refactor isdc to show if server is dc or not
2026-07-31 17:17:56 +02:00
Alexander Neff
506ebd75ef
Add documentation for bloodhound collector
2026-07-31 11:09:41 -04:00
Alex
8baa6a6071
Merge pull request #1342 from XedSama/fix-netbios-timeout-ws2025
...
Increasing dynamically SMB timeout against WS2025 NTLM rate-limiting
2026-07-31 17:06:46 +02:00
Alexander Neff
50f5f07aca
Added some documentation/explanation
2026-07-31 11:02:52 -04:00
XedSama
4fe5ae661f
Update smb.py
2026-07-31 16:26:04 +02:00
XedSama
40d30de6e6
Merge branch 'fix-netbios-timeout-ws2025' of github.com:XedSama/NetExec into fix-netbios-timeout-ws2025
2026-07-31 15:42:39 +02:00
XedSama
b6d6b2d3cb
Update smb.py
2026-07-31 15:42:01 +02:00
Xed
6e6534de29
Merge branch 'main' into fix-netbios-timeout-ws2025
2026-07-31 15:25:12 +02:00
Azox
7ca004be28
Merge branch 'main' into feat/add-schannel
...
Signed-off-by: Azox <[email protected] >
2026-07-31 15:23:17 +02:00
XedSama
2edf87d8c0
Update smb.py
2026-07-31 14:56:45 +02:00
XedSama
1c6e3247fa
Improvement with contextlib
2026-07-31 14:34:52 +02:00
XedSama
74811feaba
Update smb.py
2026-07-31 14:22:53 +02:00
mpgn
d24af22385
Merge pull request #1244 from Pennyw0rth/mpgn-patch-1
...
Add new option to toml file to exclude package is old enough
2026-07-31 09:44:18 +02:00
Alexander Neff
288a3340d3
Update lock file
2026-07-30 16:51:44 -04:00
mpgn
577ded5ad8
fix from review
2026-07-30 22:37:13 +02:00
Alex
45035f281e
Merge pull request #1333 from Char0n1507/fix/issue-1320-ssh-race-condition
...
fix: db_execute lock scope to prevent thread-safety race (#1320 )
2026-07-30 20:46:11 +02:00
azoxlpf
5bd45d2ca6
restore Schannel whoami lookup to display the real mapped user
2026-07-30 17:35:06 +02:00
azoxlpf
d97907bff8
fix requested changes
2026-07-30 17:21:10 +02:00
serwiz
4444e45e2a
Added Try catch exception over smb connection and forward ldap connection timeout too
2026-07-30 14:06:23 +02:00
serwiz
313487fe3f
Corrected LSA RPC into LDAP + Well Known SIDs
2026-07-30 12:14:44 +02:00
serwiz
254f69defb
Restore localized SID resolution through LSA
2026-07-30 11:37:13 +02:00
serwiz
2eac3ce028
Handle unresolved LDAP SIDs
2026-07-30 11:24:24 +02:00
serwiz
22d3dcc5bf
Reviews from comments done for maq module
2026-07-30 11:03:23 +02:00
Joachim De Bats
4235593af5
fix ldap resolution failure
2026-07-29 09:18:47 +02:00
Marshall Hallenbeck
dee28e3473
Merge pull request #1132 from Pennyw0rth/fix/moduleloader-isolated-namespaces
...
fix(moduleloader): isolate module namespaces and cache loaded modules
2026-07-28 20:15:39 -04:00
Marshall Hallenbeck
2b0edf3bd5
Merge pull request #1335 from Dfte/proto_back
...
Allow using proto to switch protocole without calling back
2026-07-28 15:17:40 -04:00
Marshall Hallenbeck
c3e67e42fe
Merge branch 'main' into fix/moduleloader-isolated-namespaces
2026-07-28 15:11:34 -04:00
Marshall Hallenbeck
476228c386
test(e2e): cover printnightmare in e2e_commands
...
printnightmare was absent from the e2e command list entirely, including the
combined multi-module line. It defines its own impacket NDRCALL requests,
which makes it the module most sensitive to how the loader registers modules
in sys.modules — and the gap meant a loader regression that broke it ran
clean through the whole suite.
Add it standalone and to the multi-module line, so both single-module and
multi-module loading paths exercise it.
2026-07-28 15:08:13 -04:00
Marshall Hallenbeck
d40b810aed
fix(moduleloader): register loaded modules in sys.modules
...
module_from_spec() + exec_module() does not add the module to sys.modules,
which the load_module() call it replaced did implicitly. Modules that define
their own impacket NDRCALL requests depend on impacket resolving the matching
Response class through sys.modules[request.__module__] (dcerpc/v5/rpcrt.py),
so printnightmare aborted every run with:
ModuleNotFoundError: No module named 'nxc_module_printnightmare'
Register the module under its unique name before executing it. This restores
the lookup impacket needs while keeping each module in its own namespace, as
the unique name is still distinct per module file.
2026-07-28 15:08:04 -04:00
Aurélien CHALOT
eb3a51c86a
liting
2026-07-28 20:23:25 +02:00
Aurélien CHALOT
3ef2a121c5
Allow using proto to switch protocole without calling back
2026-07-28 19:24:42 +02:00
mpgn
27d30e48a0
add isdc as option
2026-07-28 15:27:25 +02:00
bb
d592eb153c
fix: db_execute lock scope to prevent thread-safety race ( #1320 )
2026-07-28 09:19:13 -04:00
zblurx
f210749bcb
Merge branch 'main' into dpapi_upgrade
...
Signed-off-by: zblurx <[email protected] >
2026-07-28 10:07:57 +02:00
Alexander Neff
67ec4e14ed
Fix check for login functions
2026-07-27 10:47:10 -04:00
Alex
c35233c4db
Merge pull request #1318 from Goultarde/fix/sccm-dpapi-kdchost
...
fix(smb/sccm): pass kdcHost/dc_ip to dploot Target so --sccm wmi doesn't hang over Kerberos
2026-07-27 16:17:54 +02:00
Goultarde
7895b1898e
Also pass dc_ip to dploot Target in dpapi()
2026-07-26 17:46:39 +02:00
Goultarde
59778f5b70
Use self.targetDomain for trust key salt derivation
2026-07-26 17:32:06 +02:00
Alex
80317f12ea
Merge pull request #1328 from XedSama/update-enum-cve
...
Update enum_cve.py
2026-07-26 14:04:58 +02:00
Alexander Neff
c6972c1434
Move deobfuscation functions into the module
2026-07-26 06:21:42 -04:00
Alexander Neff
9f069f57b5
Add module category
2026-07-26 06:00:30 -04:00
Alexander Neff
b5a1141755
Formatting
2026-07-26 05:59:48 -04:00
Alex
a18aaa2708
Merge branch 'main' into rclone
2026-07-26 11:58:21 +02:00
XedSama
6c6970ef4d
Update enum_cve.py
2026-07-25 12:16:24 +02:00
Marshall Hallenbeck
40f1e2b616
Merge branch 'main' into fix/moduleloader-isolated-namespaces
2026-07-23 22:07:16 -04:00
azoxlpf
98ae72fa2c
simplify Schannel LDAPConnection call
2026-07-23 09:35:24 +02:00
zblurx
4a235a45b6
remove unused mark
2026-07-22 21:01:58 +02:00
zblurx
2d04789b10
update pvk file reading
2026-07-22 20:54:30 +02:00
zblurx
f2cbdc4372
update e2e_commands.txt
2026-07-22 20:44:39 +02:00
zblurx
6b509c402a
update pyproject.toml
2026-07-22 20:14:26 +02:00
zblurx
fe758a6270
ruff check
2026-07-22 20:11:07 +02:00
zblurx
f0047bc321
fix dploot related modules
2026-07-22 20:00:05 +02:00
zblurx
f476bf2313
fix mssql dabatase for backupkey
2026-07-22 18:14:12 +02:00
zblurx
2d35724a6e
add dpapi for mssql
2026-07-22 17:53:00 +02:00
zblurx
88d0c7bb3f
dpapi refacto
2026-07-22 17:25:46 +02:00
zblurx
7ccf5aaddb
add dpapi for winrm
2026-07-22 12:48:46 +02:00
zblurx
e60d8f1b34
add dpapi for wmi proto
2026-07-22 12:04:46 +02:00
zblurx
db422c71b2
update smb proto
2026-07-22 12:04:30 +02:00
azoxlpf
6c59c7a11e
Merge remote-tracking branch 'origin/main' into feat/add-schannel
2026-07-22 09:47:32 +02:00
azoxlpf
f6e85c809e
requested changes
2026-07-22 09:37:10 +02:00
Alex
cd599504ad
Merge pull request #1311 from Functionhx/fix/netexec-1273-export-keys
...
fix: add get_keys fallback to prevent export keys crash
2026-07-21 19:32:43 +02:00
mpgn
b2a9c7484f
Merge pull request #1313 from Pennyw0rth/ldaptiemout
...
Add ldap timeout option to ldap protocol
2026-07-21 19:30:17 +02:00
Alexander Neff
1256a81215
Linting
2026-07-21 13:20:23 -04:00
Alexander Neff
b8f431c756
Merge branch 'ldaptiemout' of https://github.com/Pennyw0rth/NetExec into ldaptiemout
2026-07-21 13:13:05 -04:00
Alexander Neff
ae57a98ec9
Exclude timeout errors by impacket from error messages
2026-07-21 13:13:00 -04:00
mpgn
6139fe5edc
Update proto_args.py
...
Signed-off-by: mpgn <[email protected] >
2026-07-21 19:01:10 +02:00
mpgn
44ff3da079
Merge pull request #1282 from T1erno/fix-backup_operator
...
Fix for backup_operator module
2026-07-18 21:18:04 +02:00
mpgn
fa07f0a702
Merge branch 'main' into fix-backup_operator
2026-07-18 21:11:56 +02:00
mpgn
e79cf35845
refactor a little bit
2026-07-18 21:11:10 +02:00
Goultarde
77f6ab4f85
Add e2e tests and update --enabled help text for trust keys
2026-07-18 20:04:25 +02:00
mpgn
357d5b3873
Merge branch 'main' into mpgn-patch-1
2026-07-18 18:44:58 +02:00
Goultarde
9860c5fded
Fix trust key lines disappearing with --enabled
...
Trust key lines never contain "Enabled"/"Disabled" (they have no account
status), so the --enabled filter silently dropped them entirely. Detect
trust key lines and always show them regardless of --enabled.
2026-07-18 15:25:52 +02:00
Goultarde
d96e92d867
Fix trust-keys dump summary messages
...
--just-trust-keys reused the regular NTDS dump summary ("NTDS hashes",
"added to the database", grep-disabled hint), which is meaningless
when only trust keys are dumped (no accounts are enumerated). Show a
summary specific to that mode instead.
2026-07-18 13:48:52 +02:00
Goultarde
dc7e0e432d
Add --just-trust-keys to smb ntds dump
...
Like --trust-keys but skips account enumeration entirely (implied --just-dc
behavior in impacket), emitting only the trust keys. Useful when only the
inter-realm keys are needed, for a faster and quieter dump.
2026-07-18 13:33:11 +02:00
Goultarde
dd72a956e6
Add --trust-keys to smb ntds dump
...
Expose impacket secretsdump's trust key extraction (fortra/impacket#2207 )
through NetExec's --ntds: dumps Trusted Domain Object secrets and derives
inter-realm Kerberos (AES256, AES128) and RC4 keys for each trust direction.
Also fixes the account-line status stripping in add_hash(), which blindly
dropped the last space-separated word of every secret line (meant to strip
the trailing "Enabled"/"Disabled" on account lines) and was truncating the
trust key lines, which contain spaces but no status suffix.
2026-07-18 13:00:34 +02:00
Goultarde
b62e0e2a22
fix(smb/sccm): pass kdcHost/dc_ip to dploot Target so --sccm wmi doesn't hang over Kerberos
2026-07-16 23:05:42 +02:00
mpgn
ec54abe827
refactor isdc
2026-07-16 22:35:14 +02:00
mpgn
d78faffb6f
Merge branch 'main' into ldaptiemout
2026-07-16 21:01:24 +02:00
Aurélien CHALOT
6b030fce79
typo
2026-07-16 14:03:56 +02:00
mpgn
4eac71fa70
add except
2026-07-16 13:28:07 +02:00
Alex
ff198407f8
Merge pull request #1314 from Pennyw0rth/neff-fix-mssql-rid-brute
2026-07-15 23:18:14 +02:00
Alexander Neff
1438edbe8c
Update certipy due to bugs in current github main branch
2026-07-15 16:57:59 -04:00
mpgn
30fb8691d0
Update ruff dependency to latest version
...
Signed-off-by: mpgn <[email protected] >
2026-07-15 21:33:49 +02:00
mpgn
1c091a62a8
Refactor dev dependencies in pyproject.toml
...
Removed specific dependencies from the dev group in pyproject.toml and added a comment about the uv and poetry native dev group.
Signed-off-by: mpgn <[email protected] >
2026-07-15 21:31:01 +02:00
Alexander Neff
c7a44ade4a
Fix rid bruteforce in MSSQL
2026-07-15 14:17:00 -04:00
mpgn
567f4629cd
Merge branch 'main' into ldaptiemout
2026-07-15 17:17:49 +02:00
mpgn
b4f5b4182d
add lock
2026-07-15 16:10:57 +02:00
mpgn
502df2f2ac
fix ruff version
2026-07-15 16:10:57 +02:00
mpgn
1abed07bca
Merge branch 'main' into mpgn-patch-1
...
Signed-off-by: mpgn <[email protected] >
2026-07-15 16:08:01 +02:00
mpgn
d77c79bcc5
fix ruff version
2026-07-15 16:06:30 +02:00
mpgn
fd6b32e386
Delete poetry.toml
...
Signed-off-by: mpgn <[email protected] >
2026-07-15 15:48:53 +02:00
mpgn
8a459a3647
add ldap timeout
...
Add a --ldap-timeout option (default 10s) and pass it through to
impacket's LDAPConnection, which now supports a native connection
timeout (fortra/impacket#2217 ). Also deprecate the generic --timeout
flag and bump the pinned impacket to the commit that ships the timeout
parameter.
2026-07-15 15:32:45 +02:00
Functionhx
7e74daf9dd
test: add do_export end-to-end regression test for keys empty guard
...
Codex R2 found the existing three tests never call DatabaseNavigator.do_export,
so removing the empty-key guard would leave all tests passing while restoring
false success and file truncation. Add a test that constructs a
DatabaseNavigator, calls do_export('keys all <file>'), and asserts the file is
unchanged, the failure message appears, and the success message does not.
Refs: Pennyw0rth/NetExec#1273
Signed-off-by: Yuchen Fan <[email protected] >
2026-07-13 11:42:07 +08:00
Functionhx
251cc8e0a3
fix: guard keys export against empty results to prevent file truncation
...
The get_keys() base class returns [] for protocols without key support
(e.g. SMB). Without this guard, write_list() opens the target file in
'w' mode, writes nothing, and reports success — silently truncating any
existing file. Add an empty-keys check before file open, plus regression
tests that cover both the BaseDB fallback and the write_list truncation
behavior.
Signed-off-by: Yuchen Fan <[email protected] >
2026-07-13 10:23:42 +08:00
Functionhx
5d0a5fa97a
fix: add get_keys() to BaseDB to prevent AttributeError on export keys
...
The nxcdb export keys command calls self.db.get_keys() which only
existed as a method on the SSH protocol database class. When called
from any other protocol (smb, mssql, winrm, etc.), it raised an
AttributeError because the base database class had no such method.
Add a default get_keys() method to BaseDB that returns an empty list.
Protocols that support keys (SSH) already override this method with
their own implementation, so SSH behavior is unchanged.
Also add argument validation and a success message to the keys export
handler in nxcdb.py for consistency with other export commands.
Fixes : Pennyw0rth/NetExec#1273
Signed-off-by: Yuchen Fan <[email protected] >
2026-07-13 02:08:43 +08:00
Alex
d1fc6d5784
Merge pull request #1310 from termanix/nfs-shares-db
...
Add Shares and Export DB for NFS
2026-07-12 15:25:53 +02:00
Alexander Neff
e4c3c06ff1
Fix output filename when exporting the hosts
2026-07-12 09:22:26 -04:00
Alex
51c0370fe2
Merge pull request #1284 from azoxlpf/refactor/daclread-replace-ldap3
...
Replace ldap3 with impacket in daclread module
2026-07-12 15:05:18 +02:00
Alexander Neff
2a3fb7a168
Remove custom ldap filtering
2026-07-12 08:47:45 -04:00
termanix
55538fe18d
Update pyNFSClient resolved_reference
2026-07-11 20:31:37 +03:00
termanix
d908f8aeeb
Hosts export works as well
2026-07-11 20:30:04 +03:00
termanix
77bf1f8970
Merge branch 'main' into nfs-shares-db
2026-07-11 19:54:53 +03:00
termanix
14bd63a7f1
Add Shares and Export DB for NFS
2026-07-11 19:47:29 +03:00
Alex
93c64fcc0b
Merge pull request #1251 from azoxlpf/fix/atexec-2025
...
Fix atexec task execution on 2025 servers
2026-07-11 18:46:17 +02:00
Alex
cbb2131380
Merge pull request #1286 from azoxlpf/refactor/gpp-privileges-replace-ldap3
...
Replace ldap3 with impacket in gpp_privileges module
2026-07-11 18:36:29 +02:00
Alex
c5d7918346
Merge pull request #1309 from Pennyw0rth/neff-stop-anon-mssql
...
Don't allow anonymous auth in MSSQL
2026-07-11 18:23:01 +02:00
Alexander Neff
6de681f84e
Set context to class var and remove unnecessary logic
2026-07-11 12:19:27 -04:00
termanix
3817719dcc
Merge branch 'Pennyw0rth:main' into main
2026-07-11 18:56:52 +03:00
Alex
721599632a
Merge pull request #1285 from azoxlpf/refactor/sccm-replace-ldap3
...
Replace ldap3 with impacket in sccm module
2026-07-11 17:56:31 +02:00
Alex
4013347211
Merge pull request #1239 from azoxlpf/feat/add-generate-st
...
Add standalone --generate-st
2026-07-11 17:47:43 +02:00
Alexander Neff
7ceac6e738
Don't allow anon auth in mssql
2026-07-11 11:43:46 -04:00
Alex
8ce9d802fa
Merge pull request #1308 from Dfte/add_database_nfs
...
Add host database for NFS
2026-07-11 17:39:17 +02:00
Alexander Neff
c30a780bc3
Linting
2026-07-11 11:36:53 -04:00
Alex
cd1746f09f
Merge pull request #1307 from Dfte/add_encryptionreq_database_mssql
...
Add mssql version and encryption req flags in DB
2026-07-11 17:35:05 +02:00
Alex
d80784d047
Merge pull request #1294 from BastienFaure/main
...
Handle situation where LDAP user objects do not have userAccount
2026-07-11 17:25:37 +02:00
Alexander Neff
eb4b2b45fc
Do kerberos auth when requesting a ST and add default SPN for storing ST
2026-07-11 11:22:03 -04:00
termanix
cfca2732e2
Merge branch 'Pennyw0rth:main' into main
2026-07-10 18:36:51 +03:00
azoxlpf
77889ae7ca
switched to fail + return False
2026-07-09 11:08:37 +02:00
azoxlpf
7718ecf526
only capture TGT/ST when --generate-st is set
2026-07-09 09:17:08 +02:00
Aurélien CHALOT
c79f649f9d
Add encryption status
2026-07-08 17:43:06 +02:00
Aurélien CHALOT
f01876f3f9
Add hash algorithm in the output
2026-07-08 17:22:57 +02:00
Aurélien CHALOT
ed450e2491
Add host database for NFS
2026-07-08 15:30:43 +02:00
Aurélien CHALOT
82d5c49485
Add mssql version and encryption req flags in DB
2026-07-08 13:29:09 +02:00
Alex
8dfe5573bf
Merge pull request #1303 from TGJLS/main
...
fix(onelogon): allow onelogon module to work with same forrests and cross forrest
2026-07-05 20:54:09 +02:00
TGJLS
6dafdec453
fix(onelogon): allow onelogon module to work with same forrests and cross forrest
...
Signed-off-by: TGJLS <[email protected] >
2026-07-05 18:29:43 +00:00
T1erno
337181e520
Ruff check on backup_operator
2026-07-04 21:28:52 -06:00
T1erno
0e80de5d68
reintroduced samdump in backup operator
2026-07-04 21:19:14 -06:00
T1erno
6dda035d2a
Removed local admin usage and SAM reg dump
2026-07-02 20:55:09 -06:00
Alex
d9871c5a04
Merge pull request #1301 from Pennyw0rth/neff-fix-nfs-upload
...
Fix file uploading in NFS
2026-07-02 19:57:21 +02:00
Alexander Neff
0d067da38c
Fix file uploading
2026-07-02 13:43:08 -04:00
mpgn
1f9ecc8f77
Merge pull request #1297 from Pennyw0rth/neff-fix-signing
...
Fix SMBv1 None
2026-06-30 23:09:11 +02:00
mpgn
4c63f700dc
Merge pull request #1300 from KevinCrrl/fix-spec-file
...
Fix: add dploot.triage.cng to netexec.spec
2026-06-30 23:05:37 +02:00
KevinCrrl
010ed45c12
Fix: add dploot.triage.cng to netexec.spec
2026-06-30 15:15:30 -05:00
Alexander Neff
33dbf4bf32
Use '.get()' as fallback for nonexisting userAccountControl values
2026-06-30 10:30:11 -04:00
Alexander Neff
1482deeccf
Removing the no longer needed prefered dialect
2026-06-30 10:23:56 -04:00
Alex
6cd6418e40
Merge branch 'main' into neff-fix-signing
2026-06-30 16:23:08 +02:00
Alex
bc810706b0
Merge pull request #1299 from bandrel/fix/smb-signing-false-negative-311
...
Fix SMB signing false negative on SMB 3.1.1 hosts
2026-06-30 16:19:16 +02:00
Alexander Neff
1b9bd310f2
Remove unnecessary variables
2026-06-30 09:40:04 -04:00
Alexander Neff
6fc0a6a8aa
Cleanup con usage
2026-06-29 15:44:18 -04:00
Justin Bollinger and Claude Opus 4.8
2536442a21
Address review: drop staticmethod, use isSigningRequired() below SMB 3.0
...
Per review feedback on #1299 :
- Make _is_signing_required a regular method instead of a staticmethod.
- Collapse the SMBv1 and sub-3.0 branches into a single isSigningRequired()
call; impacket only force-sets RequireSigning at 3.1.1, so that flag is
accurate below SMB 3.0. Only the 3.0+ path needs the explicit
ServerSecurityMode check.
Co-Authored-By: Claude Opus 4.8 <[email protected] >
2026-06-29 14:34:35 -04:00
Justin Bollinger
e0372e7dc0
Merge branch 'main' into fix/smb-signing-false-negative-311
2026-06-29 14:06:17 -04:00
Alexander Neff
4f0b5bfd06
Fix SMBv1 detection text
2026-06-29 13:26:42 -04:00
Alexander Neff
29442cc6a8
Select SMB dialect 3.0.2 so we still can have unsigned connections
2026-06-29 13:17:56 -04:00
mpgn
ef3a634601
Merge pull request #1296 from Pennyw0rth/patchldap
2026-06-29 18:10:25 +02:00
mpgn
de2207d837
fix stracktrace port 636 closed
2026-06-29 15:08:54 +02:00
mpgn
c2a3e48a04
Merge pull request #1295 from Pennyw0rth/mpgn-patch-2
...
Handle None in username check for SQL query results when rid-brute with mssql
2026-06-27 13:00:10 +02:00
mpgn
da50debfca
fix impacket pr with None
2026-06-26 22:57:22 +02:00
mpgn
12086c388c
Refactor username null check in mssql.py
...
Simplified username null check in SQL query results.
Signed-off-by: mpgn <[email protected] >
2026-06-26 21:24:51 +02:00
mpgn
6a47c3217a
Handle None in username check for SQL query results
...
Signed-off-by: mpgn <[email protected] >
2026-06-26 21:18:02 +02:00
Bastien Faure
04aac88205
Handle weird situation where LDAP user object do not have userAccountControl field
2026-06-26 05:23:18 -04:00
Justin Bollinger and Claude Opus 4.8
4a93879014
Fix SMB signing false negative on SMB 3.1.1 hosts
...
impacket force-sets _Connection["RequireSigning"]=True for any SMB 3.1.1
negotiation regardless of the server's real policy (the 3.1.1 session setup
is always signed). Reading that flag caused false negatives in relay-target
discovery: 3.1.1 hosts (Windows 10/Server 2016+) that merely *enable* but do
not *require* signing were reported as signing:True and silently dropped from
--gen-relay-list output.
Read the real negotiated ServerSecurityMode for SMB 3.0+ instead, falling back
to RequireSigning for SMB 2.0.2/2.1 (where ServerSecurityMode is unpopulated
and RequireSigning is accurate). Logic extracted into a testable static helper
with mock-based regression tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected] >
2026-06-24 14:20:46 -04:00
Alex
f6b0896dd0
Merge pull request #1291 from Pennyw0rth/neff-onelogon
2026-06-23 20:32:29 +02:00
Alexander Neff
b8a2365bf6
Add onelogon enumeration
2026-06-23 12:07:43 -04:00
Azox
9bd4e8e832
Regenerate poetry.lock after merge with main
2026-06-19 12:32:57 +02:00
Azox
c94d00fbc1
resolve conflicts
...
Signed-off-by: Azox <[email protected] >
2026-06-19 12:18:40 +02:00
Azox
7fcb9b26ae
Merge branch 'main' into feat/add-schannel
...
Signed-off-by: Azox <[email protected] >
2026-06-19 12:14:22 +02:00
azoxlpf
3a16b24afa
reuse TGT from kerberosLogin for standalone --generate-st
2026-06-19 11:06:09 +02:00
azoxlpf
0501b85ba3
Merge branch 'main' into feat/add-generate-st
2026-06-19 10:48:02 +02:00
Alex
36acb706af
Merge pull request #1288 from Pennyw0rth/neff-switch-impacket
...
Switch impacket source back to fortra
2026-06-19 09:18:11 +02:00
Alex
811bf4eb69
Merge pull request #1287 from azoxlpf/refactor/get-network-replace-ldap3
...
Remove unused ldap3 import from get-network module
2026-06-19 09:10:20 +02:00
Alexander Neff
affbf673d6
Switch impacket source back to fortra
2026-06-19 03:10:04 -04:00
azoxlpf
b98162efce
remove unused ldap3 import from get-network module
2026-06-19 08:46:29 +02:00
azoxlpf
17a949aba9
replace ldap3 with impacket in gpp_privileges module
2026-06-18 16:56:15 +02:00
azoxlpf
0b2fecab53
replace ldap3 with impacket in sccm module
2026-06-18 14:43:30 +02:00
azoxlpf
e1c99c9387
update comment
2026-06-18 14:39:34 +02:00
azoxlpf
4f75a7f55b
replace ldap3 with impacket in daclread module
2026-06-18 14:30:43 +02:00
azoxlpf
812c63e00b
move Schannel auth from schannel_login to plaintext_login
2026-06-18 10:46:18 +02:00
azoxlpf
841a28832f
call hSchRpcRun only on Windows Server 2025
2026-06-17 10:00:14 +02:00
T1erno
2686436eb5
Fix for backup_operator module
2026-06-16 22:27:18 -06:00
Alex
2f3f064560
Merge pull request #1281 from termanix/patch-10
2026-06-12 16:23:34 +02:00
termanix
c01dc7f84d
Update build-binaries.yml
...
Signed-off-by: termanix <[email protected] >
2026-06-12 16:45:24 +03:00
termanix
420db6b0cf
Add macos-26-intel for MacOS Intel
...
Signed-off-by: termanix <[email protected] >
2026-06-12 16:38:22 +03:00
mpgn
114b3be2d4
Merge pull request #1278 from azoxlpf/fix/pfx-stacktrace
...
fix: catch invalid PFX/PEM errors in certificate authentication
2026-06-10 09:51:43 +02:00
azoxlpf
59c032e4dd
Declare cryptography as a direct dependency
2026-06-10 09:51:19 +02:00
azoxlpf
6126c790f9
catch certificate loading errors in pfx_auth
2026-06-09 11:05:17 +02:00
azoxlpf
e8ad9528f9
add Schannel certificate authentication via --schannel
2026-06-09 09:45:35 +02:00
Alex
f80c5105f4
Merge pull request #1263 from Dfte/add_db_enumeration
...
Add database edition and version enumeration
2026-06-07 22:37:54 +02:00
Alex
efab20a2ea
Merge pull request #1078 from azoxlpf/feat/u2u-support
...
Add User2User authentication
2026-06-07 17:57:07 +02:00
TristanInSec
09f3f823c6
Address review: make logger required, use .fail() for sanitization warnings
2026-06-06 16:19:38 -04:00
Alex
a5379db31c
Merge pull request #1270 from XedSama/drop-library-bug-fix
...
Bug fix : `drop-library-ms` not using NAME option
2026-06-05 11:35:05 +02:00
XedSama
d773e63bd3
Fix lms_name and set it to NAME module option
2026-06-05 11:06:58 +02:00
Alex
12d006d831
Merge branch 'main' into feat/u2u-support
2026-06-04 17:54:09 +02:00
Alex
b820f6d5fd
Merge pull request #1254 from XedSama/dpapi-qol-empty
...
QoL DPAPI - Log message when empty
2026-06-04 17:53:32 +02:00
Alexander Neff
af69e9dd95
Make code more efficient and explicit
2026-06-04 11:49:32 -04:00
Alex
abeb163ad8
Merge pull request #1138 from e-nzym3/add-safe-shares-module
...
Add safe_shares SMB module: share permission enumeration module that does not write files to disk
2026-06-04 17:38:21 +02:00
Aurélien CHALOT
536c79008e
Reduce size
2026-06-04 15:31:07 +02:00
Alex
d6b328587e
Merge pull request #1265 from shaaati/patch-1
2026-06-03 17:04:48 +02:00
shaaati
7388995af3
Sort SIDs ascendingly
...
Signed-off-by: shaaati <[email protected] >
2026-06-03 16:58:49 +02:00
shaaati
90ebee5fdf
Extend search filter for admin check in ldap.py
...
Added SID for builtin group "Administrators"
Signed-off-by: shaaati <[email protected] >
2026-06-03 16:33:09 +02:00
Aurélien CHALOT
614c8cc0e8
Add database edition and version enumeration
2026-06-03 11:30:07 +02:00
Alex
761d0d91c0
Merge pull request #1262 from Pennyw0rth/neff-fix-delegation
...
Fix delegation
2026-06-02 22:49:47 +02:00
TristanInSec
c20060a64a
Refactor hostname sanitization into helpers/misc.py
...
Move the hostname sanitization regex from an inline check in
connection.py into a reusable sanitize_hostname() function in
nxc/helpers/misc.py, and apply it at the source in each protocol's
enum_host_info where hostnames are received from NTLM/server data.
Protocols covered: SMB, WinRM, WMI, MSSQL, RDP.
Addresses review feedback on PR #1243 .
2026-06-02 16:49:46 -04:00
Alexander Neff
4694c26c8a
Fix delegation and only create new SMB conn when we actually have a different target_ip (and not None)
2026-06-02 13:47:11 -04:00
Aurélien CHALOT
77f7f19223
Fix e2e
2026-06-02 13:48:03 +02:00
Aurélien CHALOT
262487ba03
Switch --backups to --list-backups
2026-06-02 12:44:12 +02:00
Aurélien CHALOT
e2a7b853d7
Remove @requires_admin as it is not
2026-06-02 11:53:10 +02:00
Aurélien CHALOT
cfc9123142
Refactor the --database argument to comply with security checks
2026-06-02 11:47:37 +02:00
Aurélien CHALOT
50d9103181
Patch futur reviews from Azox
2026-06-02 11:22:34 +02:00
Aurélien CHALOT
7fed03bd6a
Patch futur reviews from Azox
2026-06-02 11:20:32 +02:00
Aurélien CHALOT
2c5abef853
Patch futur reviews from Azox
2026-06-02 11:19:42 +02:00
Aurélien CHALOT
b96c7899ee
Patch futur reviews from Azox
2026-06-02 11:16:56 +02:00
enzym3
000eae14f4
smb --shares: revert to fixed-width table, widen Permissions to 22 for DACL_WRITE
2026-06-01 12:51:13 -04:00
Aurélien CHALOT
7cad502a16
Add --backups
2026-06-01 17:58:09 +02:00
Aurélien CHALOT
3c7497e728
Factorise SQL request
2026-06-01 17:45:04 +02:00
Aurélien CHALOT
412b97af50
Add e2e test commands
2026-06-01 17:42:22 +02:00
Aurélien CHALOT
e7304d9ec9
Add local database hash dump --db-hash
2026-06-01 17:39:07 +02:00
XedSama
f7113a4128
Update smb.py
2026-06-01 14:07:33 +02:00
enzym3
41e0e01b5f
Merge branch 'main' into add-safe-shares-module
2026-05-29 10:06:26 -04:00
azoxlpf
5f45de2b90
Fix atexec task execution on 2025 servers
2026-05-28 15:27:23 +02:00
Alex
b7c0f6563c
Merge pull request #1250 from azoxlpf/refactor/tsch-smb-exec
...
Refactor TSCH_EXEC and SMBEXEC
2026-05-27 17:19:15 +02:00
Alexander Neff
0237a07092
Remove stub variable
2026-05-27 11:05:26 -04:00
Alexander Neff
d82fcfb08a
Move things in args order
2026-05-27 11:04:27 -04:00
Alexander Neff
8c55ef6d8b
Remove stub variable
2026-05-27 10:54:52 -04:00
Alexander Neff
e99740dc96
Fix test that failed due to renamed arg
2026-05-27 10:49:44 -04:00
Alexander Neff
f2a0dc3df9
Move things in args order
2026-05-27 10:49:27 -04:00
azoxlpf
a6d29ab0ac
Simplify TSCH_EXEC and SMBEXEC after NXCRPCConnection merge
2026-05-27 10:37:40 +02:00
Fabrizzio53
f3a90d9aca
Refactor tombstone
...
refactored the code to return empty sAMAccountName when object does not have this attribute.
removed some variables that were not being used, such as opsec, multiple_host and self.__domain.
removed internal domain to dn function to now use connection.baseDN.
the number of deleted objects should be right now, temporary var is created and incremented for each deleted object found.
Signed-off-by: Fabrizzio53 <[email protected] >
2026-05-26 19:27:43 -03:00
Alex
51c13bc3e0
Merge pull request #1191 from azoxlpf/feat/add-rpc-class
...
Add RPC helper class and migrate SMB/module callers
2026-05-26 22:37:58 +02:00
Alex
515dccee24
Merge pull request #1247 from Pennyw0rth/add-azoxlpf-awesome-contributors
...
Add azoxlpf to awesome contributors
2026-05-25 22:48:23 +02:00
Alexander Neff
73dc25c907
Add azoxlpf to awesome contributors
2026-05-25 16:41:40 -04:00
Alex
0708e35f6d
Merge pull request #1231 from T1erno/fix-ctrl+c
2026-05-25 15:56:06 +02:00
Alexander Neff
99d7186ed5
Don't triple check if DCE is not None
2026-05-25 07:03:33 -04:00
Alexander Neff
4d746de71d
Don't triple check if DCE is not None
2026-05-25 07:03:23 -04:00
Alexander Neff
4a726849fa
Improve logging
2026-05-25 06:58:31 -04:00
Alexander Neff
fd101be87c
Recreate RPC conn if target is different to existing SMB connection
2026-05-25 06:28:45 -04:00
Alexander Neff
b3da0d5e82
Formatting
2026-05-25 06:24:49 -04:00
Alexander Neff
fc5b7bbb3f
Formatting
2026-05-25 06:20:55 -04:00
Alexander Neff
446328bdbc
Add NXCRPCConnection to modify-group
2026-05-25 06:13:26 -04:00
Alexander Neff
1dd2c6696d
No stub variables
2026-05-25 05:44:55 -04:00
Alexander Neff
570bae028e
Rename variables to something meaningful
2026-05-25 05:22:26 -04:00
Alexander Neff
8cf5b605df
Properly use class comments
2026-05-25 05:22:11 -04:00
Alex
87f2f10a0f
Merge branch 'main' into feat/add-rpc-class
2026-05-25 11:15:19 +02:00
Marshall Hallenbeck
dfec064063
Merge branch 'main' into feat/smb-get-folder
2026-05-23 19:55:34 -04:00
Marshall Hallenbeck
e84ca2d510
fix(smb): fix slashes and silent folder download bugs
2026-05-23 19:53:40 -04:00
Marshall Hallenbeck
9c4ad7fc39
fix(smb): recursively download folders by default
2026-05-23 19:49:51 -04:00
TristanInSec
d21ee2d6b1
Merge remote-tracking branch 'upstream/main' into fix/sanitize-ntlm-hostname
2026-05-23 15:54:05 -04:00
TristanInSec
ccf36b492e
Use display() for sanitization notice so it shows at default verbosity
2026-05-23 15:52:44 -04:00
Alexander Neff
830b04ba57
Use contextlib instead of empty try&except
2026-05-23 05:53:12 -04:00
Alex
3dcccc7b9b
Merge pull request #1246 from Pennyw0rth/neff-fix-mssql-sam
...
Add full control to dump files in order do bypass win restrictions
2026-05-22 21:50:34 +02:00
Alexander Neff
fe03fc20cf
Add full control to dump files in order do bypass win restrictions
2026-05-22 15:30:03 -04:00
Alex
a03625d992
Merge pull request #1245 from azoxlpf/fix/ntlm-reflection
...
Fix: CVE-2025-33073 NTLM reflection not exploitable on pre-NT10.0 systems
2026-05-22 18:46:41 +02:00
azoxlpf
663e26fb0b
drop NTLM reflection checks on Server 2008 and 2012
2026-05-22 16:42:09 +02:00
mpgn
3a0ccbe396
Update test.yml
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:30:43 +02:00
mpgn
dfbf2f6be7
Update lint.yml
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:24:16 +02:00
mpgn
31df9337b3
Update test.yml
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:22:42 +02:00
mpgn
af6bebc362
Update lint.yml
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:20:55 +02:00
mpgn
ebb3da489f
Simplify dependency installation step in lint workflow
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:19:59 +02:00
mpgn
5bc110601e
Refactor GitHub Actions to use uv for setup
...
Updated GitHub Actions workflow to use 'uv' for installation and execution.
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:18:11 +02:00
mpgn
468c8efe8b
switch to uv
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:17:21 +02:00
mpgn
e0972008f4
update lock
2026-05-19 19:12:54 +00:00
mpgn
a92b6fea16
Update oscrypto dependency to specific commit
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:04:47 +02:00
mpgn
5b3f8382e4
Configure Poetry to ignore recent package versions
...
Add min-release-age setting for supply-chain hardening
Signed-off-by: mpgn <[email protected] >
2026-05-19 21:01:44 +02:00
mpgn
8a708ffab3
Update pyproject.toml
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 20:47:31 +02:00
mpgn
abdeb78174
Add exclude-newer option for tool.uv
...
Signed-off-by: mpgn <[email protected] >
2026-05-19 20:22:28 +02:00
azoxlpf
e407f21062
simplify the help
2026-05-19 14:27:46 +02:00
TristanInSec
9c293a8eb9
Warn when NTLM hostname is sanitized
...
Log a warning showing the original and sanitized hostname so users
are alerted to potential non-compliant implementations or rogue servers.
2026-05-18 14:42:53 -04:00
TristanInSec
68abd128e6
Sanitize NTLM hostname to prevent path traversal and DoS
...
Strip non-alphanumeric characters (except hyphens and dots) from
server-provided NTLM hostname before use in file paths or content.
Prevents:
- Path traversal via ../ in hostname (file creation outside ~/.nxc/logs/)
- DoS via null byte (ValueError crash in open())
- DoS via { characters (KeyError crash in str.format())
- Newline injection in --generate-hosts-file output
- Affects: SMB, RDP, VNC, WinRM, MSSQL credential dump and screenshot paths
2026-05-16 16:17:22 -04:00
T1erno
9911e9a280
Simplify CTRL+C exit
2026-05-15 20:04:04 -06:00
Alexander Neff
18f7725993
Explicitely remove the null byte
2026-05-14 06:49:56 -04:00
Marshall Hallenbeck
636491ddde
Merge branch 'main' into feat/smb-get-folder
2026-05-12 14:06:06 -04:00
enzym3
4082c4eadb
smb --shares: address review feedback from PR #1138
...
- Import write-check masks from impacket.smb3structs instead of redefining locally
- Move write_checks list into shares() scope
- Enforce --file-write-check requires --shares via argparse make_required
- Use STYPE_DISKTREE/STYPE_MASK constants for share type check; store type in share_info
- Add debug log when skipping non-filesystem shares
- Restore explanatory comment on empirical write check
- Replace try/except/pass with contextlib.suppress on disconnectTree
- Rename column-width vars and explain magic numbers in shares output
2026-05-12 10:16:28 -04:00
azoxlpf
c58f3e0675
add standalone --generate-st with --spn for Kerberos ST export
2026-05-11 14:50:11 +02:00
Alex
0fbff80d9c
Merge pull request #1237 from Pennyw0rth/neff-fix-schtask_as-logging
...
Fix logging output of schtask_as
2026-05-10 12:17:49 +02:00
Alexander Neff
861f7d9f67
Fix logging output of schtask_as
2026-05-10 06:11:16 -04:00
Alex
df15cf20db
Merge pull request #1235 from Pennyw0rth/neff-nfs-chmod
...
Add chmod to NFS
2026-05-07 21:20:48 +02:00
Alex
9e1403bf20
Merge pull request #1232 from Pennyw0rth/neff-fix-nfs
...
Minor fixes for NFS
2026-05-07 21:18:37 +02:00
Alexander Neff
41cde339d1
Add e2e tests
2026-05-07 15:11:00 -04:00
Alexander Neff
d10522eff8
Add chmod to nfs
2026-05-07 15:03:06 -04:00
Alex
4c56251480
Merge pull request #1125 from Ne0re0/main
...
feat: Compute gMSA AES keys when using --gmsa
2026-05-07 16:35:15 +02:00
Alexander Neff
a23d0fa3b8
Pythonic
2026-05-07 10:01:49 -04:00
Alexander Neff
d8ea63da83
Add error message if gmsa string is invalid
2026-05-07 09:16:59 -04:00
Alexander Neff
028e774e8e
Formatting
2026-05-07 09:16:14 -04:00
Alexander Neff
d9603d5c8b
Formatting
2026-05-07 09:15:49 -04:00
Alexander Neff
a0c62e2413
Formatting
2026-05-07 09:13:51 -04:00
Alexander Neff
8d5c81c36c
Formatting
2026-05-07 09:13:47 -04:00
Alexander Neff
358052235a
If we don't have a sAMAccountName skip kerberos keys
2026-05-07 09:11:50 -04:00
Alexander Neff
178df416c8
Switch order of displaying kerberos keys
2026-05-07 09:06:24 -04:00
Alexander Neff
21ea460d91
Remove duplicate search base
2026-05-07 09:06:12 -04:00
Marshall Hallenbeck
8759444f1b
Merge branch 'main' into feat/smb-get-folder
2026-05-06 16:19:27 -04:00
Alex
5f7a05adb4
Merge branch 'main' into add-safe-shares-module
2026-05-06 13:32:26 +02:00
Alexander Neff
68816dcb25
Linting
2026-05-06 12:53:12 +02:00
Alexander Neff
641f020952
Add encoding fallback for special chars (e.g. öäü)
2026-05-06 12:46:15 +02:00
Alexander Neff
cb156b7573
Catch errors if portmapper does not provide port for nfs bind
2026-05-06 12:45:45 +02:00
Alexander Neff
3631b8fdca
Update module description
2026-05-06 12:44:25 +02:00
T1erno
a0a7c2673e
Improved Ctrl + c behavior
2026-05-05 14:08:13 -06:00
Alexander Neff
d022f14f7e
Formatting
2026-05-05 15:30:22 -04:00
Alexander Neff
324ff9e8fe
Remove unused import
2026-05-05 15:30:15 -04:00
Alexander Neff
48691de278
Functionalize key generation
2026-05-05 15:25:23 -04:00
Alexander Neff
4951135148
Remove unused import
2026-05-05 15:25:07 -04:00
Alexander Neff
f5bbf07a54
Use generate_kerberos_keys
2026-05-05 14:42:38 -04:00
Alex
696cfdfb37
Merge branch 'main' into main
2026-05-05 19:29:58 +02:00
Alex
ee3ccb7948
Merge pull request #1228 from Pennyw0rth/neff-fix-rdp-kerberos
...
Fix Kerberos authentication with RDP
2026-05-04 18:17:32 +02:00
Alexander Neff
0bec9188cf
We must connect to the kdc not the host on port 88 for Kerberos tickets
2026-05-04 12:08:39 -04:00
Fabrizzio53
adfd529593
Removed a typo " in the first example
...
Removed a typo " in the first example
Signed-off-by: Fabrizzio53 <[email protected] >
2026-04-30 08:49:14 -03:00
Marshall Hallenbeck
56406afd40
Merge pull request #1136 from Pennyw0rth/fix/ssh-channel-closed-exception
...
fix(ssh): handle channel closed exception during shell and privilege checks
2026-04-29 13:40:43 -04:00
Alex
ed96d6756b
Merge pull request #1221 from Pennyw0rth/neff-fix-add-computer
...
Fix add-computer module
2026-04-29 16:42:27 +02:00
Alex
9e179bb585
Merge pull request #1222 from Barneee/add-wazuh-detection
...
Add Wazuh XDR detection
2026-04-29 16:24:16 +02:00
Dennis Barnekow
c25c3d8686
Add Wazuh XDR detection
...
Added Wazuh Windows Agent service indicator
Signed-off-by: Dennis Barnekow <[email protected] >
2026-04-29 15:11:36 +02:00
Alexander Neff
efed8d19c6
Polish description
2026-04-29 08:10:43 -04:00
Alexander Neff
1f7175ac9f
Return user handle and not impacket object
2026-04-29 08:10:31 -04:00
Alex
83696d29ac
Merge pull request #1220 from Barneee/add-cynet-detection
...
Add Cynet EDR detection
2026-04-29 08:50:36 +02:00
Marshall Hallenbeck
cd6d5b2ee5
fix(smb): properly reference arg via dot notation
2026-04-28 18:51:23 -04:00
Dennis Barnekow
5009642220
Add Cynet EDR detection
...
Added CynetLauncher service indicator
Signed-off-by: Dennis Barnekow <[email protected] >
2026-04-28 15:59:47 +02:00
Marshall Hallenbeck
598afaa79a
tests(get_folder): add e2e test line
2026-04-27 12:23:46 -04:00
Marshall Hallenbeck
5932bce690
fix(smb): add path sanitization helper and apply to download_folder
2026-04-27 12:23:46 -04:00
Marshall Hallenbeck
b020b24441
feat(smb): add --get-folder command for downloading remote directories
...
Add download_file(), download_folder(), and get_folder() methods to the
SMB protocol. Refactor get_file_single() to use download_file() with
automatic fallback from READ to READ/WRITE access on sharing violations.
New CLI args: --get-folder, --recursive, --ignore-empty-folders
Example: nxc smb target -u user -p pass --share SYSVOL --get-folder 'domain\Policies' ./output --recursive
2026-04-27 12:23:46 -04:00
Alex
2ea598a732
Merge pull request #1218 from jblommaert/patch-1
...
Fix netexec.spec
2026-04-27 18:15:03 +02:00
Julien Blommaert
3670d20639
Fix netexec.py
...
Add 'certihound' needed for LDAP
Fix #1197
Signed-off-by: Julien Blommaert <[email protected] >
2026-04-27 13:43:45 +02:00
Alex
f7e1187212
Merge pull request #840 from azoxlpf/feat/add-targeted-kerberoast
2026-04-26 17:56:15 +02:00
Alex
73ccf0daec
Merge pull request #1217 from Pennyw0rth/neff-minor-fixes
...
Minor fixes for LDAP and RDP
2026-04-24 09:48:58 +02:00
Alexander Neff
c8e027c999
Stop crashes when the nxcdb misbehaves
2026-04-24 08:48:10 +02:00
Alexander Neff
678760345e
Prevent security principals from crashing the query (missing samaccountname)
2026-04-24 08:47:39 +02:00
Alexander Neff
46c6f18563
Only look up groups (not containers)
2026-04-24 08:47:13 +02:00
Alexander Neff
6982e82fcf
Formatting
2026-04-23 13:45:34 -04:00
Alexander Neff
11ec479e2e
Cleanup
2026-04-23 13:40:57 -04:00
Alexander Neff
6f1b4c94b1
Remove default argument
2026-04-23 13:38:05 -04:00
Alexander Neff
7eb4171e66
Functionalize argument parsing
2026-04-23 13:37:36 -04:00
Alex
917603bbd7
Merge pull request #1215 from Pennyw0rth/neff-fix-runner
...
Fix GitHub PR action and adjust AI policy
2026-04-23 16:06:24 +02:00
Alexander Neff
269b0a6888
Adjust AI policy
2026-04-23 03:19:12 -04:00
Alexander Neff
6ba33a8042
Let runner run in context of the PR
2026-04-23 03:01:22 -04:00
Fabrizzio53
a8a94671ea
fixed issues pointed on the PR
...
removed imports that were not being used, remove None returns, put the options at the start of the script and improved on indentation
Signed-off-by: Fabrizzio53 <[email protected] >
2026-04-22 18:37:29 -03:00
Alex
5179ebec78
Merge pull request #1214 from Pennyw0rth/neff-fix-ldap-admin-privs
...
Fix carrying over of admin privs while bruteforcing
2026-04-22 10:00:02 +02:00
Alexander Neff
c7ddc41b9d
Explicitely set admin privs=False
2026-04-22 02:47:08 -04:00
Alex
5f24696a11
Merge pull request #1213 from termanix/terman-fix
...
Fix premature self.context usage in modify-group
2026-04-22 08:34:30 +02:00
termanix
a7590c8a61
Fix premature self.context usage in modify-group
2026-04-22 08:05:36 +03:00
Marshall Hallenbeck
43094f1623
Merge pull request #1211 from Pennyw0rth/fix/rdp-asyncio-deadlock
...
Fix for RDP asyncio timeout
2026-04-21 16:51:32 -04:00
Marshall Hallenbeck
2ec95a56ec
fix(rdp): properly terminate connections; resolves #1169
2026-04-20 16:09:42 -04:00
Alex
1e0c6af59c
Merge pull request #1210 from azoxlpf/feat/add-ESC15-check
...
Add CVE-2024-49019 (EKUwu / ESC15) to enum_cve module
2026-04-20 17:52:04 +02:00
Alexander Neff
0a0ef62825
Shorten ESC15 message
2026-04-20 11:47:41 -04:00
azoxlpf
0bd8d4307f
add CVE-2024-49019 (EKUwu / ESC15)
2026-04-20 17:15:02 +02:00
Alex
4998541b75
Merge pull request #1195 from icemanphd/fix/issue-1059-hostname-truncation
...
fix(smb): resolve hostname truncation from NetBIOS 15-char limit
2026-04-18 16:26:53 +02:00
Alexander Neff
b1e62e081f
Use upper case name
2026-04-18 09:45:57 -04:00
Alexander Neff
800d9b614f
DNS names should always be non empty string
2026-04-18 09:42:16 -04:00
Fabrizzio53
fea06fe912
fixed ruff checks
...
fixed ruff checks
Signed-off-by: Fabrizzio53 <[email protected] >
2026-04-15 19:28:08 -03:00
Fabrizzio53
6512a9801e
Removed LDAP3 connection, removed old imports, removed SSL action
...
Removed the LDAP3 connection and now use impacket with the new CRUD method from the latest merged PR, removed the SSL option since now the first connection is handled by netexec and not ldap3
Signed-off-by: Fabrizzio53 <[email protected] >
2026-04-15 19:12:18 -03:00
Fabrizzio53
a29c162d33
Merge branch 'Pennyw0rth:main' into main
2026-04-15 19:10:24 -03:00
Aurélien CHALOT
f83b10a3af
small fix
2026-04-15 11:20:46 +02:00
Aurélien CHALOT
2250d2b1f3
Add exclusion options
2026-04-15 11:15:57 +02:00
Alex
1884cd30a9
Merge pull request #1202 from Pennyw0rth/neff-allow-commands-and-modules
...
Allow proto flags in combination with modules
2026-04-14 14:24:05 +02:00
Alex
cb8912a26b
Merge pull request #1201 from Pennyw0rth/neff-add-winrm-dir
...
Add WinRM dir command
2026-04-14 14:23:56 +02:00
Alexander Neff
9f8625edfd
Don't crash when we have no return value, e.g. on crashes
2026-04-14 13:43:42 +02:00
Alexander Neff
4f327d961b
Change default encoding to pysrps default to stop crashes on german special chars
2026-04-14 13:42:33 +02:00
Alexander Neff
7e9427131b
Fix output path
2026-04-14 13:28:46 +02:00
Alexander Neff
f7afd493bf
Add winrm --dir command
2026-04-14 13:23:20 +02:00
Alexander Neff
6c3750a03f
Fix winrm --get-file local path completion
2026-04-14 13:23:06 +02:00
Alexander Neff
32a7d5a1f2
Allow proto flags in combination with modules
2026-04-14 13:20:39 +02:00
Alex
eb8443364b
Merge pull request #1199 from Pennyw0rth/winrm-up-download
...
Add WinRM upload and download functions
2026-04-14 13:07:13 +02:00
Alexander Neff
d7dd837539
Improve logic of execution
2026-04-13 17:10:22 +02:00
Alexander Neff
e4c4b0e75c
Add WinRM upload and download functions
2026-04-13 17:00:41 +02:00
Alexander Neff
4d6c7b205d
Fix winrm database issues when running in threads
2026-04-13 17:00:07 +02:00
Alexander Neff
b8695bbb8a
Add general protocol attribute to connection
2026-04-13 16:59:08 +02:00
azoxlpf
f9dcabb9ae
cleanup after review
2026-04-12 22:37:59 +02:00
azoxlpf
10d5c1ce5e
unify targeted kerberoast with main kerberoasting flow
2026-04-12 20:57:00 +02:00
Alexander Neff
5d8a6299a3
Extract no-preauth-roasting into separate function
2026-04-12 13:31:08 -04:00
Alexander Neff
5b489b57a6
Remove unnecessary if check
2026-04-12 13:16:06 -04:00
azoxlpf
c7e7b1189d
resolve conflicts
2026-04-12 18:55:55 +02:00
Alexander Neff
ad5772babe
Improve arg description
2026-04-12 12:50:51 -04:00
Alex
11b667480f
Merge branch 'main' into feat/add-targeted-kerberoast
2026-04-12 18:38:03 +02:00
Alex
af45411879
Merge pull request #688 from termanix/add-group
...
New Module modify-group
2026-04-12 18:02:38 +02:00
Alexander Neff
0c14d05de5
Switch to fail message as our intended action failed
2026-04-12 11:31:28 -04:00
Alexander Neff
86b34efbed
Merge adding/removing logic and only differentiate in action
2026-04-12 11:29:07 -04:00
Alexander Neff
1d1dfe54e8
Polish limitations section
2026-04-12 11:28:55 -04:00
Alexander Neff
d876a186ef
Merge adding/removing logic and only differentiate in action
2026-04-12 11:15:43 -04:00
Alexander Neff
15c6c757f0
Use constants
2026-04-12 11:00:03 -04:00
Alexander Neff
d264deddeb
Formatting
2026-04-12 09:45:08 -04:00
Alexander Neff
56b42713a8
Don't reraise exception
2026-04-12 09:38:03 -04:00
Alexander Neff
6c19e35bad
Formatting
2026-04-12 09:37:10 -04:00
Alexander Neff
d5b7891cd6
Formatting
2026-04-12 08:51:46 -04:00
Alexander Neff
46f01edf43
Make description more specific
2026-04-12 08:51:38 -04:00
Alex
8347d0a9dc
Merge pull request #1193 from A3-N/fix-zero-byte-files
...
fix: ftp put_file reports failure on 0-byte uploads
2026-04-12 14:42:07 +02:00
termanix
9cbab6514f
Merge branch 'main' into add-group
2026-04-11 19:34:30 +03:00
icemanphd
13b340f613
fix(smb): resolve hostname truncation from NetBIOS 15-char limit ( #1059 )
...
Use getServerDNSHostName() instead of getServerName() to retrieve the
hostname from the NTLM challenge response. The DNS hostname (MsvAvDnsComputerName)
is not subject to the 15-character NetBIOS limitation, resolving truncated
entries in --generate-hosts-file and --generate-krb5-file output.
Falls back to getServerName() when DNS hostname is unavailable (e.g. Samba).
2026-04-10 11:09:57 -04:00
A3-N
988057d7b5
drop fix
2026-04-10 17:18:21 +04:00
A3-N
4a29811ef9
revived banner
2026-04-10 17:15:14 +04:00
A3-N
24e290f01d
revived banner
2026-04-10 17:14:29 +04:00
A3-N
1d3542ea36
fix: ftp put_file reports failure on 0-byte uploads
2026-04-09 02:49:06 +04:00
termanix
e6c2cda3d8
e2e update
2026-04-07 20:41:30 +03:00
termanix
38674a517d
scope user search to OU baseDN and add listing header
2026-04-07 20:40:44 +03:00
termanix
30f365cc40
Merge branch 'main' into patch-1
2026-04-07 20:19:46 +03:00
azoxlpf
5fe43ba915
restore comment accidentally removed
2026-04-07 17:35:21 +02:00
azoxlpf
382821ae03
module header comment, drop class docstring
2026-04-07 17:27:03 +02:00
azoxlpf
2e06677820
ruff fix
2026-04-07 17:23:01 +02:00
azoxlpf
3cc5d6d5b0
log SAMR cleanup errors instead of silent pass
2026-04-07 17:21:55 +02:00
azoxlpf
27fd359e6e
wrap legacy bind and auth_level in execute_handler try
2026-04-07 17:20:26 +02:00
azoxlpf
f6adc55a6b
fix(spooler): restore EPM flow without bind (port 135/445)
2026-04-07 17:07:23 +02:00
azoxlpf
5947abe37a
revert(ntlm_reflection): restore original stub module
2026-04-07 15:07:42 +02:00
azoxlpf
ffed697d6e
fix(enum_ca): restore EPM flow without bind for port 135
2026-04-07 15:02:02 +02:00
azoxlpf
2b92f7c39e
fix(enum_cve): catch SessionError when opening winreg pipe
2026-04-07 14:51:14 +02:00
azoxlpf
9c68d2f790
correct SMBTransport args for reused SMB session
2026-04-07 14:45:59 +02:00
azoxlpf
7267518db6
centraliser DCE/RPC via NXCRPCConnection
2026-04-07 14:12:55 +02:00
Alex
67d90e0227
Merge pull request #1183 from azoxlpf/fix/mssql-integrated-auth-tds-error-handling
...
fix(mssql): handle TDS error when NTLM challenge absent and fix local-auth flow
2026-04-06 14:56:39 +02:00
Azox
31472fb96f
Merge branch 'main' into fix/mssql-integrated-auth-tds-error-handling
2026-04-06 14:53:09 +02:00
Alexander Neff
a1ecc1dfbb
Add NTLM:False flag
2026-04-06 08:46:16 -04:00
Alexander Neff
6c957f9145
Remove print message
2026-04-06 08:42:41 -04:00
Alexander Neff
804aeb00f1
Remove unused variable and add no_ntlm
2026-04-06 08:42:23 -04:00
Alexander Neff
4cb49784a3
Switch if logic
2026-04-06 08:40:50 -04:00
termanix
68ff10b704
Conflicts solved
2026-04-04 18:15:56 +03:00
azoxlpf
6ada3eaf3c
rename ntlm_parser to negotiate_parser, add TDS LOGIN7 helpers
2026-04-03 22:32:37 +02:00
Alex
1f4aceaefe
Merge pull request #1177 from ledrypotato/pre2k-module-adjustment
...
Adjust the pre2k module
2026-04-03 20:12:43 +02:00
Alexander Neff
121d6c4305
Only apply ALL option if indeed set to true
2026-04-03 14:06:53 -04:00
Alexander Neff
ee466afc40
Still display failed TGT retreival for pre2k accounts
2026-04-03 14:04:22 -04:00
Alexander Neff
ddc66c1243
Only display accounts that have been found
2026-04-03 14:00:21 -04:00
Matt
f2d2a72c0e
add e2e commands
2026-04-03 19:37:43 +02:00
Matt
c2efe58d31
small adjustments + separate writing pre2k & non pre2k computers to different files
2026-04-03 19:14:38 +02:00
Alex
3e4a7bc411
Merge pull request #1180 from termanix/patch-2
...
Improve error handling in change-password module
2026-04-03 18:58:09 +02:00
Alexander Neff
ee37fc08cf
Remove unnecessary None checks
2026-04-03 12:45:30 -04:00
Alexander Neff
c78bb6bade
Move error handling to login function, so if we crash we don't add users to db
2026-04-03 12:43:50 -04:00
Matt
8ebf8fed7d
fix module option description
2026-04-03 14:22:20 +02:00
Matt
6e39d16dc5
add module option to query every computer object
2026-04-03 14:08:41 +02:00
ledrypotato
12cb8e3521
Merge branch 'Pennyw0rth:main' into pre2k-module-adjustment
2026-04-03 11:07:53 +02:00
Alex
a073c2db16
Merge pull request #1182 from azoxlpf/fix/mssql-attribute-error
...
fix: avoid AttributeError when MSSQL command output is None
2026-04-01 22:22:27 +02:00
azoxlpf
1b4900d755
always return str from MSSQLEXEC.execute
2026-04-01 20:32:55 +02:00
Azox
19f979c6ee
Merge branch 'main' into fix/mssql-attribute-error
2026-04-01 16:54:01 +02:00
azoxlpf
7147aa265e
parse TDS ERROR/INFO via impacket
2026-04-01 15:37:18 +02:00
Azox
b27b20fb9a
Merge branch 'main' into fix/mssql-integrated-auth-tds-error-handling
2026-04-01 14:45:13 +02:00
Alex
600abd62be
Merge pull request #1179 from azoxlpf/fix/mssql-fix-infinite-loop
...
abort rid_brute on invalid connection after failed login
2026-03-31 18:50:22 +02:00
Azox
e8c2584499
Merge branch 'main' into fix/mssql-attribute-error
2026-03-31 12:58:04 +02:00
Azox
3ff1e89877
Merge branch 'main' into fix/mssql-integrated-auth-tds-error-handling
2026-03-31 12:57:47 +02:00
azoxlpf
081ab77eae
fix(mssql): handle TDS error when NTLM challenge absent and fix local-auth flow
2026-03-31 12:49:35 +02:00
azoxlpf
9d90e0daba
fix: avoid AttributeError when MSSQL command output is None
2026-03-31 10:30:52 +02:00
termanix
95f67b7125
removed duplicate try&except
2026-03-30 18:32:27 +03:00
azoxlpf
8a0957e183
return early from rid_brute on SID/domain query failure
2026-03-30 14:29:47 +02:00
termanix
e6ca7f4b76
Added try except for understanding errors
2026-03-30 15:03:56 +03:00
termanix
7c97ed133c
fix ruff. That changes for preventing unnecessary RPC calls
2026-03-30 14:47:26 +03:00
termanix
a1f3aaaee1
Attempt to resolve and open target user; abort if not found or not accessible. Preventing for trying to change (failed: rpc_x_bad_stub_data)
2026-03-30 14:41:16 +03:00
Azox
04da125754
Merge branch 'main' into fix/mssql-fix-infinite-loop
2026-03-30 13:04:23 +02:00
azoxlpf
4d112e7952
abort rid_brute on invalid connection after failed login
2026-03-30 12:59:18 +02:00
Alex
4a5cbf650a
Merge pull request #1172 from A3-N/fix/connection-thread-safety
...
fix: add thread-safety to failed login counters
2026-03-30 11:54:19 +02:00
Alex
08ad1cc792
Merge pull request #1041 from Wyndoo/module-get-scriptpath
2026-03-29 17:26:11 +02:00
ledrypotato
7fb80e6cc9
Update search filter for computer accounts
...
The userAccountControl search filter is a bit restrictive. I changed it from 4128 (32 - PASSWD_NOTREQD + 4096 - WORKSTATION_TRUST_ACCOUNT) to only 4096 since "After a computer account has joined the domain, it will just have the WORKSTATION_TRUST_ACCOUNT flag set (4096)" - https://www.trustedsec.com/blog/diving-into-pre-created-computer-accounts
Signed-off-by: ledrypotato <[email protected] >
2026-03-28 18:01:32 +01:00
A3-N
623e6aa6b6
removed outer check, no time save
2026-03-27 21:18:08 +04:00
Alex
d2342dbfad
Merge pull request #1110 from Coontzy1/main
...
SAM History Dumping
2026-03-26 17:20:40 +01:00
Alex
43027f47a2
Merge pull request #1173 from 0xaled/NetExec-Enum-AV
...
enum_av module: add HarfangLab Hurukai EDR indicators and minor tipo fix
2026-03-25 18:54:48 +01:00
Alexander Neff
6cfb52c3bd
Just directly use arg and formatting
2026-03-25 13:16:43 -04:00
Alex
409b0278fd
Merge pull request #698 from LTJAXSON/add-mssql-dumper-module
...
Add mssql_dumper module for sensitive data discovery
2026-03-25 17:20:18 +01:00
P'tit Snake
ee652ba36b
Update enum_av.py : Minor fix ( HarfangLab PR )
...
tipo fix for EPClientUIService
Signed-off-by: P'tit Snake <[email protected] >
2026-03-25 14:25:34 +01:00
P'tit Snake
ccbf41de7f
Update enum_av.py : Minor fix ( HarfangLab PR )
...
correction de tipo pour cortex EDR
Signed-off-by: P'tit Snake <[email protected] >
2026-03-25 14:24:10 +01:00
P'tit Snake
1ef7e792f0
Update enum_av.py: add HarfangLab Hurukai EDR indicators
...
Add detection for HarfangLab EDR agent via services and pipes, tested against a live Windows Server 2019 system with HarfangLab deployed.
Signed-off-by: P'tit Snake <[email protected] >
2026-03-25 14:15:47 +01:00
Alex
931f281cc1
Merge branch 'main' into main
2026-03-25 10:32:08 +01:00
A3-N
d7abaf287b
fix: add thread-safety to failed login counters
2026-03-24 11:06:46 +04:00
enzym3
b813a679ba
smb --shares: skip write checks for non-filesystem shares (IPC, print queue) using shi1_type
2026-03-23 11:41:19 -04:00
enzym3
d946b7791a
smb: fix --file-write-check warning to use is None check for --shares
2026-03-23 11:30:53 -04:00
enzym3
fa4ba9417a
smb: warn when --file-write-check is used without --shares; remove safe_shares module
...
safe_shares is superseded by ACL-based write detection now built into --shares.
2026-03-23 11:11:44 -04:00
enzym3
8b9a555f77
tests: add --file-write-check e2e command, drop --no-write-check
2026-03-23 10:54:24 -04:00
enzym3
e86d3461d8
smb --shares: ACL-based write detection by default, --file-write-check for empirical
2026-03-23 10:41:40 -04:00
enzym3
1f06aa7ebd
smb: add ACL write check constants for shares()
2026-03-23 10:30:28 -04:00
enzym3
cdd8005bc4
smb: replace --no-write-check with --file-write-check
2026-03-23 10:16:47 -04:00
Alex
bac38ac1c6
Merge pull request #1171 from T1erno/Fix-lsassy-port
...
Use connection.port variable on lsassy
2026-03-23 11:30:40 +01:00
Alexander Neff
31bdfe4a3a
Update lsassy
2026-03-23 06:26:23 -04:00
T1erno
1f8d03e96f
Use connection.port variable on lsassy
2026-03-22 22:30:25 -06:00
Alexander Neff
1eb6c517d3
Add like_search file input and disable preset option
2026-03-22 11:29:45 -04:00
Alexander Neff
e8d8966219
Merge branch 'main' into mssql-dumper
2026-03-22 11:21:42 -04:00
Alex
6de83deb6a
Merge pull request #1047 from Dfte/main
...
Add mssql_cbt checker module
2026-03-22 13:52:39 +01:00
Alexander Neff
5e6bd51810
Should be lm or nt hash
2026-03-22 08:34:18 -04:00
Alexander Neff
ee20734b36
Fix auth with hashes
2026-03-22 08:28:53 -04:00
Alexander Neff
4795fbce13
Fix ruff
2026-03-22 08:05:55 -04:00
Alexander Neff
6ca17061fa
Update impacket
2026-03-22 08:00:38 -04:00
Alexander Neff
8a9102d84b
Fix lock file
2026-03-22 07:55:10 -04:00
Alexander Neff
e3b61df695
Merge branch 'main' into mssql-cbt
2026-03-22 07:54:26 -04:00
Deft_
59272d58cf
Patches the insert error
...
Signed-off-by: Deft_ <[email protected] >
2026-03-21 13:19:49 +01:00
Alex
8dbf09cc4f
Merge pull request #1166 from Pennyw0rth/neff-update-dependencies
...
Update dependencies
2026-03-20 15:06:47 +01:00
Alexander Neff
7b3aed0036
Await forever
2026-03-20 07:47:35 -04:00
termanix
f21de1c567
editted e2e
2026-03-20 13:40:11 +02:00
termanix
1e344b8f7f
renamed module name removed ou part
2026-03-20 13:36:37 +02:00
Alexander Neff
76433ab10e
Replace os.path with async safe anyio.Path
2026-03-20 07:30:35 -04:00
Alexander Neff
6a443a5d3e
Clean up ruff
2026-03-20 07:25:42 -04:00
Alexander Neff
4c6ee6b9da
Remove obsolete ruff setting
2026-03-20 07:24:01 -04:00
Alexander Neff
5d2b8fd297
Update dependencies
2026-03-20 07:23:53 -04:00
Alexander Neff
92f70ca16e
Fix lock file
2026-03-20 07:18:42 -04:00
termanix
26ecbf1e2f
Regenerate poetry.lock
2026-03-20 13:04:32 +02:00
termanix
e03d26cc38
removed duplicated functions, try/excepts.
2026-03-20 13:02:15 +02:00
termanix
493381c35a
removed unneccesary try/except blocks
2026-03-20 13:02:15 +02:00
termanix
4a9c2d58f2
Debug and fail logs have been reduced to a single line.
2026-03-20 13:02:15 +02:00
termanix
33f521c055
removed unneccesary connections and modified as ldap.modify
2026-03-20 13:02:08 +02:00
Alexander Neff
bb7afbaa84
Update impacket
2026-03-20 13:01:16 +02:00
termanix
4d9e34398a
ou part commented for now
2026-03-20 13:01:03 +02:00
termanix
556dfd755c
edit for understanding
2026-03-20 13:01:03 +02:00
termanix
c7e2ae46f1
Added try/except for if the target user is (not) already in group on SMB
2026-03-20 13:01:03 +02:00
termanix
ecda28839f
Added SAMR info for using SMB
2026-03-20 13:01:03 +02:00
termanix
7b003e1d88
Switched to impacket ldap connection from ldap3(removed)
2026-03-20 13:01:03 +02:00
termanix
c8c69f8757
edit to do
2026-03-20 13:01:03 +02:00
Mehmetcan TOPAL
60a571ec0e
ruff fix
2026-03-20 13:01:03 +02:00
termanix
871c70b51b
Fixed auth bug on ldap
2026-03-20 13:01:03 +02:00
termanix
ecf6062314
ruff fixed
2026-03-20 13:01:03 +02:00
termanix
77e916997d
Update e2e_commands.txt
...
Signed-off-by: termanix <[email protected] >
2026-03-20 13:01:03 +02:00
termanix
fa1ee4beaf
Update e2e_commands.txt
...
Signed-off-by: termanix <[email protected] >
2026-03-20 13:01:03 +02:00
termanix
03e30c68f7
removed old changes, OU part will To Do
2026-03-20 13:01:03 +02:00
termanix
8eebf0a2ba
added a few log info lines
...
Signed-off-by: termanix <[email protected] >
2026-03-20 13:01:03 +02:00
termanix
4e4a00fb7e
add/remove group module
2026-03-20 13:01:03 +02:00
Alex
2204ea8d30
Merge pull request #1054 from 0x0Trace/feature/adcs-collection
...
feat(ldap): add ADCS collection support via CertiHound integration
2026-03-19 17:57:08 +01:00
Alexander Neff
7c64f922f6
Add e2e tests
2026-03-19 09:16:47 -04:00
Alex
9d65d3c404
Merge pull request #1164 from Pennyw0rth/neff-fix-dependencies
...
Update impacket
2026-03-19 14:14:49 +01:00
Alexander Neff
9f5ba4f6ba
Update impacket
2026-03-19 07:59:26 -04:00
Alexander Neff
62ae17dd09
Add SHOW_DATA options to regex check
2026-03-19 07:56:48 -04:00
Alexander Neff
11fe13e69c
Save output file into nxc folder and remove unnecessary parsing
2026-03-19 07:54:29 -04:00
Alexander Neff
02f521e70d
Standardize json output
2026-03-19 07:46:48 -04:00
Alexander Neff
dc3cd90e53
Optimise code
2026-03-19 07:45:48 -04:00
Alexander Neff
a17137f0d9
Replace exception handler with lastError check
2026-03-19 07:39:28 -04:00
Alexander Neff
5f2d34732c
Comments and removing unnecessary exception handler
2026-03-19 07:38:31 -04:00
Alexander Neff
1b5cd4dabd
Optimise code
2026-03-19 07:32:10 -04:00
Alexander Neff
848b7b0eae
Optimise code
2026-03-19 07:04:11 -04:00
Alexander Neff
46bfbcf2d8
Fix module and options
2026-03-19 07:03:38 -04:00
Alexander Neff
d2640c9c82
Formatting
2026-03-18 17:18:56 -04:00
Alexander Neff
c7b8e5bb2b
Sort pii values
2026-03-18 16:49:39 -04:00
Alexander Neff
cbc40f75ea
Formatting
2026-03-18 16:43:18 -04:00
Alex
36180b3dc1
Merge branch 'main' into add-mssql-dumper-module
2026-03-18 21:41:04 +01:00
Alex
756abe171a
Merge pull request #1160 from azoxlpf/fix/pfx-auth
...
Fix : handle unresolved kdcHost with clear error, add winrm kdcHost resolution
2026-03-18 19:11:19 +01:00
Alex
6d1df54392
Merge pull request #1162 from 0xaled/NetExec-Enum-AV
...
enum_av module: add Elastic EDR Version 9.3.0 indicators
2026-03-18 18:27:07 +01:00
P'tit Snake
ce30d4392d
fix spacing for improved code readability
...
During the IOC arrangement, 1 line was removed to maintain better visibility; I'm adding it back.
Signed-off-by: P'tit Snake <[email protected] >
2026-03-18 15:53:36 +01:00
P'tit Snake
ca62afcdea
Update enum_av.py : Reorder products alphabetically and add Elastic EDR indicators
...
Sorted all endpoint protection products in alphabetical order for
consistency and easier maintenance. Added Elastic EDR detection
Signed-off-by: P'tit Snake <[email protected] >
2026-03-18 13:51:14 +01:00
termanix
d1123258e7
Merge branch 'main' into patch-1
2026-03-18 14:42:17 +03:00
azoxlpf
82dcdd191c
ruff fix
2026-03-18 11:54:13 +01:00
P'tit Snake
a869a3fe12
Update enum_av.py With Elastic EDR Version 9.3.0 indicator
...
Elastic EDR: services (Elastic Agent, ElasticEndpoint) and pipes
(ElasticEndpointServiceComms-*, elastic-agent-system). Version 9.3.0
Signed-off-by: P'tit Snake <[email protected] >
2026-03-18 11:53:43 +01:00
azoxlpf
8e5a4fb814
handle kdcHost None gracefully, avoid self.host fallback for non-DC targets
2026-03-18 11:45:51 +01:00
azoxlpf
5a955ddf39
fallback kdcHost to target IP when DNS resolution fails
2026-03-18 11:30:48 +01:00
Alex
170ce533bb
Merge pull request #1098 from azoxlpf/feat/add-ldaps-addccomputer
...
Refactor add-computer : use impacket CRUD
2026-03-18 11:16:44 +01:00
Alexander Neff
6228c18433
Fix exception handling as in #1081
2026-03-18 06:11:26 -04:00
Alexander Neff
05cc920c80
Formatting
2026-03-18 05:52:27 -04:00
Alexander Neff
7724e882a0
Clarify variable name
2026-03-18 05:42:58 -04:00
Alexander Neff
06c0735676
Simplify code
2026-03-18 05:41:34 -04:00
Alexander Neff
b7d0463ea4
Formatting
2026-03-18 05:35:44 -04:00
Alexander Neff
25b72e1bd2
Remove unnecessary checks
2026-03-18 05:35:33 -04:00
Alexander Neff
9bff5bbbed
Formatting
2026-03-18 05:29:45 -04:00
Alexander Neff
c169d28bda
Remove LDAPS statements
2026-03-18 05:27:38 -04:00
Alexander Neff
1517597dba
Remove unnecessary checks
2026-03-18 05:26:31 -04:00
Alexander Neff
1fdd259a71
Fix options text
2026-03-18 05:19:11 -04:00
azoxlpf
475078d196
ruff fix
2026-03-17 20:51:48 +01:00
azoxlpf
39f3a2836a
fix conflicts
2026-03-17 20:50:16 +01:00
Alexander Neff
37194c6568
Fix json formatting
2026-03-17 15:18:30 -04:00
Alexander Neff
ea9b661a0e
Simplify filtering
2026-03-17 15:00:07 -04:00
Alexander Neff
f4967a6837
Formatting
2026-03-17 14:35:11 -04:00
Alexander Neff
ab88315f1d
Formatting
2026-03-17 13:20:25 -04:00
Alexander Neff
fa2679208b
Formatting
2026-03-17 12:30:35 -04:00
Alexander Neff
aecad76f0b
Simplify resolving logic
2026-03-17 12:21:05 -04:00
Alexander Neff
a0573a6dd5
Simplify resolving logic
2026-03-17 12:16:33 -04:00
Alexander Neff
7999b77165
Move bh collection method logic out of ldap proto
2026-03-17 12:11:47 -04:00
Alexander Neff
11bb8fb36b
Move import
2026-03-17 12:06:03 -04:00
Azox
b951b5c34a
Merge branch 'main' into feat/add-ldaps-addccomputer
...
Signed-off-by: Azox <[email protected] >
2026-03-17 17:02:18 +01:00
Alexander Neff
ce0494038c
Merge branch 'main' into certihound
2026-03-17 11:59:17 -04:00
Alexander Neff
29b4012d7e
Fix lock file
2026-03-17 10:06:47 -04:00
Alexander Neff
e00d08fb0f
Merge branch 'main' into mssql-cbt
2026-03-17 10:06:37 -04:00
Alexander Neff
bc1efe1237
Formatting
2026-03-17 10:06:02 -04:00
Alexander Neff
b83e345ddc
Switch to Pennyw0rth impacket fork for fake cbt value
2026-03-17 09:54:19 -04:00
Alexander Neff
d469fc62ff
Fix logging
2026-03-17 09:53:14 -04:00
Alexander Neff
1f9f9e3c49
Formatting
2026-03-17 09:46:22 -04:00
Alexander Neff
e4cb390fee
Formatting
2026-03-17 09:45:17 -04:00
Alexander Neff
08e1b74417
Add missing lm hash var
2026-03-17 09:45:08 -04:00
Alex
1fb8433026
Merge pull request #1156 from 0xaled/NetExec-Avast-AVG-Enum
...
enum_av module: add AVG / Avast indicator
2026-03-17 10:42:54 +01:00
P'tit Snake
a1cadc4d04
Update enum_av.py
...
enum_av module: add AVG / Avast indicator
Signed-off-by: P'tit Snake <[email protected] >
2026-03-16 15:12:56 +01:00
Alex
1f7cdb1490
Merge pull request #1150 from azoxlpf/feat/add-badsuccessor-check
...
Add CVE-2025-53779 (BadSuccessor) to the enum_cve module
2026-03-16 12:19:27 +01:00
Azox
f42be28998
Merge branch 'main' into feat/add-badsuccessor-check
2026-03-14 18:13:50 +01:00
azoxlpf
65cc6728ca
call is_host_dc() for dc_only CVEs and cache result
2026-03-14 18:13:14 +01:00
Alex
faea7379df
Merge pull request #1155 from Pennyw0rth/neff-fix-relaying
...
Prevent doing database stuff if we don't have a valid connection
2026-03-14 16:33:25 +01:00
Alex
75b207c688
Merge pull request #1151 from Pennyw0rth/dpapi_chrome_fix
...
Fix #1139 : Add support for Google Chrome v137+ app bound key decryption (through dploot upgrade)
2026-03-14 16:33:14 +01:00
Alex
2bd69e0aed
Merge pull request #1154 from Pennyw0rth/neff-minor-fixes
...
Few minor fixes
2026-03-14 16:31:11 +01:00
Alexander Neff
f94b1399a5
Prevent doing database stuff if we don't have a valid connection
2026-03-14 11:19:01 -04:00
Alexander Neff
6bb2d66239
Wording
2026-03-14 11:13:25 -04:00
Alexander Neff
8a1fa2fb72
If retreiving lsass pid failed this would lead to a crash when trying to split the string
2026-03-14 11:10:12 -04:00
Alexander Neff
429764c592
Log as success and not full highlight
2026-03-14 11:09:26 -04:00
Marshall Hallenbeck
3593ed57ab
Merge branch 'main' into fix/ssh-channel-closed-exception
2026-03-14 10:49:38 -04:00
Marshall Hallenbeck
4de7d81e94
fix(ssh): break try catch between linux and windows shell check and catch all exceptions
2026-03-14 10:48:56 -04:00
zblurx
f55a234cbe
update poetry lock
2026-03-13 18:16:59 +01:00
zblurx
25166e0c8d
Add support for dploot 3.2.2 and google chrome +137 decryption
2026-03-13 17:46:06 +01:00
Azox
defda582b1
Merge branch 'main' into feat/add-badsuccessor-check
2026-03-13 17:03:04 +01:00
azoxlpf
d5ff66b396
add BadSuccessor and dc_only flag
2026-03-13 16:40:10 +01:00
Alex
e7fa3fdbbf
Merge pull request #1149 from Pennyw0rth/neff-fix-asreproast
...
Catch KDC_ERR_ETYPE_NOSUPP when asreproasting
2026-03-13 12:16:04 +01:00
Alexander Neff
845f8d9f33
Use connection logger instead of universal logger
2026-03-13 07:03:34 -04:00
Alexander Neff
44a24f0576
Catch KDC_ERR_ETYPE_NOSUPP if there are no etypes left to request
2026-03-13 07:03:04 -04:00
Alex
83dcd2639e
Merge pull request #1086 from pol4ir/main
...
Add SMB module NTLM MIC bypass (CVE‑2025‑54918)
2026-03-13 08:07:08 +01:00
Alex
0347c13f52
Merge pull request #1147 from Pennyw0rth/neff-fix-shares-empty-pw
...
Add users with empty password to db
2026-03-12 17:09:35 +01:00
polair
2347874213
Merge branch 'main' into main
2026-03-12 15:01:01 +01:00
Alexander Neff
c015d2c643
There are users with empty passwords
2026-03-12 09:56:56 -04:00
Alex
b037969f54
Merge pull request #1145 from Pennyw0rth/neff-fix-shares-guest
...
Don't display the index error when guest auth is active
2026-03-12 13:18:46 +01:00
Marshall Hallenbeck
90ef481d94
Merge pull request #1131 from Pennyw0rth/fix/moduleloader-namespace-collision
...
fix(coerce_plus): move get_dynamic_endpoint back to module-level function
2026-03-12 08:06:40 -04:00
Alexander Neff
087ee8bf5b
Don't display the index error when guest auth is active
2026-03-12 07:45:25 -04:00
Alex
32796c6d1e
Merge pull request #1142 from gatariee/get-network-patch
...
fix bug in `get-networks` to use queried zone instead of connection
2026-03-12 11:24:16 +01:00
Alexander Neff
3c4e387045
Remove unused imports
2026-03-12 06:22:00 -04:00
Alexander Neff
82b1336023
Remove deprecated open call
2026-03-12 06:18:04 -04:00
Alexander Neff
92e2b8fc08
Add exploitation source
2026-03-12 05:52:08 -04:00
Alexander Neff
ffd615e171
Add exploitation source
2026-03-12 05:17:03 -04:00
Alexander Neff
138f60607d
Add UBR to debug output
2026-03-12 05:11:29 -04:00
Alexander Neff
627aeff920
Prevent stacktrace when guest try access winreg
2026-03-12 04:29:46 -04:00
Alexander Neff
1e90eadef1
Fix CVE UBRs
2026-03-12 04:23:57 -04:00
Alexander Neff
9a7a302fd4
Simplify logic
2026-03-12 04:23:36 -04:00
Alexander Neff
f61bf5a7d0
Improve messages
2026-03-12 04:02:15 -04:00
Alexander Neff
3dbef634b4
Add CVE dict and logic for enumeration
2026-03-12 03:53:43 -04:00
Alexander Neff
65a7389058
Formatting
2026-03-12 03:53:24 -04:00
Alexander Neff
77b1efe95d
Module description and formatting
2026-03-12 03:52:59 -04:00
gatari
3d7ae49854
Update log output to use zone instead of domain
...
Signed-off-by: gatari <[email protected] >
2026-03-12 15:27:28 +08:00
Alexander Neff
ac735513f6
Initial enum_cve module
2026-03-12 03:19:23 -04:00
Alexander Neff
d161db28f9
Deprecate ntlm_reflection module
2026-03-12 03:13:10 -04:00
Marshall Hallenbeck
1a59962f2a
Merge branch 'main' into fix/moduleloader-namespace-collision
2026-03-11 19:24:27 -04:00
Alex
c3b7e4a567
Merge pull request #1141 from Pennyw0rth/neff-fix-nfs4
...
Fix nfs for nfs4 only servers
2026-03-11 22:31:25 +01:00
Alexander Neff
543a5b3611
Fix nfs for nfs4 only servers
2026-03-11 17:24:07 -04:00
Alex
0e902450b0
Merge pull request #1140 from Pennyw0rth/neff-fix-spider_plus
...
Fix spider_plus module when hitting symlink
2026-03-11 21:01:30 +01:00
Alexander Neff
78902ee3ee
Don't follow symlinks and especially don't reconnect because this doesn't help
2026-03-11 15:53:40 -04:00
Alex
26465b1b20
Merge pull request #1102 from elboulangero/terminaltables3
...
Switch to terminaltables3
2026-03-11 20:40:24 +01:00
Alexander Neff
b3122632f5
Fix lock file
2026-03-11 15:34:58 -04:00
Alex
e57ba1ce91
Merge pull request #1113 from mverschu/fix/dpapi-username-case
...
Fix DPAPI credential lookup: add lowercase username for dploot compatibility
2026-03-11 19:10:26 +01:00
Alexander Neff
3ac03b68d1
Remove duplicate line
2026-03-11 14:05:42 -04:00
enzym3
6ece24e2f4
safe_shares: expand write detection with granular ACL-based checks
...
Replaces the single GENERIC_WRITE check with a multi-mask approach covering
FILE_ADD_FILE, FILE_ADD_SUBDIRECTORY, WRITE_DAC, and WRITE_OWNER. Plain WRITE
suppresses the more granular labels when redundant. Dynamic column widths added.
2026-03-11 12:49:27 -04:00
Alex
e873e8fcab
Merge pull request #1135 from Eliotsehr/fix_krb_S4U
...
Fix authentication from CCACHE when using kerberos S4U over SMB
2026-03-11 13:03:44 +01:00
Alexander Neff
d41ff46e14
Remove obsolete parsing for ccache inside ldap
2026-03-11 07:58:45 -04:00
Alexander Neff
011416bd0c
Get username from TGT/ST if not supplied
2026-03-11 07:56:05 -04:00
Alex
9a2544b9fb
Merge pull request #1133 from lap1nou/db-guest-null
...
db: do not add credential to db if guest or null auth
2026-03-11 12:47:40 +01:00
Alexander Neff
2b5b92b21f
Formatting
2026-03-11 07:31:49 -04:00
Alex
1d24435609
Merge pull request #1124 from PatchRequest/fix/backup_operator_random_suffix
...
fix(backup_operator): add random suffix to dump filenames
2026-03-11 12:18:25 +01:00
Alexander Neff
1b9c93eb36
Use internal gen_random_string
2026-03-11 07:07:03 -04:00
Alex
bac2a95a95
Merge pull request #1096 from azoxlpf/fix/netbios-exception-handling
...
Fix AttributeError on NetBIOSTimeout in kerberos_login
2026-03-11 11:22:53 +01:00
Alex
0e4a049a92
Merge pull request #1095 from azoxlpf/fix/certipy-auth-kerberos
...
Fix certipy-find support for NT hash and AES key auth
2026-03-11 11:22:45 +01:00
Alexander Neff
bad31bccb5
Improve clarity when login times out
2026-03-11 06:18:12 -04:00
Alex
bd1654baa3
Merge pull request #1081 from serwiz/fix/add-computer-exception-catch
...
Fix incorrect exception handling
2026-03-11 11:08:46 +01:00
Alexander Neff
282fbe1ee1
Align hashes with lm:nt as required in the docstring
2026-03-11 06:07:18 -04:00
Alexander Neff
e820d96833
Match entire string and add source for error msgs
2026-03-11 06:00:16 -04:00
e-nzym3
189371aa45
Update safe_shares.py
...
Signed-off-by: e-nzym3 <[email protected] >
2026-03-09 11:34:58 -04:00
enzym3
d43c1594ef
Add safe_shares module: safe SMB share permission enumeration without writing to disk
2026-03-09 10:53:38 -04:00
Marshall Hallenbeck
99ee883ef0
fix(ssh): handle channel closed exception during shell and privilege checks
...
Catch SSHException in check_shell() and check_linux_priv() so that SSH
servers that close channels mid-command no longer cause unhandled
tracebacks. Instead, the connection is treated as "no shell access".
Closes #264
2026-03-05 08:29:32 -05:00
Eliotsehr
77d2c1c12a
Fix authentication from CCACHE when using kerberos S4U over SMB
2026-03-05 13:01:25 +01:00
azoxlpf
87c2ad607c
move comment
2026-03-04 12:14:13 +01:00
azoxlpf
2b23da5278
add space
2026-03-04 12:12:15 +01:00
azoxlpf
d8cf226eb1
fix accidental comment removal
2026-03-04 12:09:31 +01:00
azoxlpf
44d2416e13
refactor: use --targeted-kerberoast with --kerberoasting
2026-03-04 12:03:00 +01:00
Azox
bb7cb1058b
Merge branch 'main' into feat/add-targeted-kerberoast
2026-03-04 10:30:28 +01:00
lap1nou
82ff6b63e7
db: do not add credential if guest or null auth
2026-03-03 23:18:54 +01:00
Marshall Hallenbeck and Claude Opus 4.6
6409e0d684
fix(moduleloader): isolate module namespaces and cache loaded modules
...
The module loader used the same module name "NXCModule" for every file
via spec_from_file_location(), causing sys.modules namespace collisions
when multiple modules are loaded together (-M mod1 -M mod2). Each
subsequent module overwrites the NXCModule class in the shared namespace,
so modules loaded earlier resolve a different class than their own.
This is the underlying mechanism behind multi-module ordering bugs
reported in #879 , #880 , and #882 .
Changes:
- Use unique module names (nxc_module_<filename>) and the modern
module_from_spec() + exec_module() API instead of the deprecated
load_module() to give each module its own isolated namespace
- Cache loaded modules so each file is only parsed and executed once,
regardless of how many targets are scanned (~60x faster than
re-loading per target)
- Extract shared loading logic into load_module_file() classmethod
Co-Authored-By: Claude Opus 4.6 <[email protected] >
2026-03-03 12:28:10 -05:00
Marshall Hallenbeck and Claude Opus 4.6
41b3fc2617
fix(coerce_plus): move get_dynamic_endpoint back to module-level function
...
Commit 81c6d9fb (PR #866 ) moved get_dynamic_endpoint from a module-level
function to a @staticmethod on NXCModule. This broke coerce_plus when used
with any other -M module that loads after it, because the module loader
uses the same sys.modules key for all modules, causing the NXCModule class
reference to be overwritten by whichever module loads last.
As a module-level function, get_dynamic_endpoint is not resolved through
the NXCModule class name and is unaffected by the collision.
Also makes the [dcerpc] endpoint resolution lazy so it only runs when
that pipe is actually selected, avoiding an unnecessary network call
to port 135 on every target.
Co-Authored-By: Claude Opus 4.6 <[email protected] >
2026-03-03 11:27:05 -05:00
Neoreo
fa7706b807
Factorize code
2026-02-28 11:00:46 +01:00
Alex
e065856ec2
Merge branch 'main' into fix/backup_operator_random_suffix
2026-02-27 20:38:09 +05:30
Marshall Hallenbeck
b77744feb6
Merge pull request #1126 from Pennyw0rth/copilot/add-permissions-block-to-workflow
...
Add top-level permissions block to pr-template-check workflow
2026-02-27 10:01:57 -05:00
copilot-swe-agent[bot] and Marshall-Hallenbeck
32e87c807e
Add top-level permissions block with pull-requests: write to pr-template-check.yml
...
Co-authored-by: Marshall-Hallenbeck <[email protected] >
2026-02-27 14:38:24 +00:00
copilot-swe-agent[bot]
4208a94ea9
Initial plan
2026-02-27 14:37:48 +00:00
Neoreo
d818235795
Enhancement : Compute gMSA aesKeys automatically when using --gmsa
2026-02-27 12:20:37 +01:00
PatchRequest
156eaf637a
fix(backup_operator): add random suffix to dump filenames to avoid ERROR_ALREADY_EXISTS
2026-02-27 08:22:00 +01:00
0x0Trace
80d481882c
Merge branch 'main' into feature/adcs-collection
2026-02-23 22:00:25 +02:00
Marshall Hallenbeck
c7dc286ba6
Merge pull request #1122 from Pennyw0rth/marshall_smb_snipped_vuln_fix
...
fix(snipped): properly parse and set output file for saved screenshots
2026-02-23 09:48:47 -05:00
Marshall Hallenbeck
4f6685038a
fix(snipped): properly parse and set output file for saved screenshots
2026-02-22 20:45:00 -05:00
Marshall Hallenbeck
7345af476b
Merge pull request #1109 from Pennyw0rth/add-ai-policy
...
Add AI policy
2026-02-22 12:14:33 -05:00
Marshall Hallenbeck
8742b61da8
Merge branch 'main' into add-ai-policy
2026-02-22 08:16:51 -05:00
Marshall Hallenbeck
7d027f2774
Merge pull request #1121 from Pennyw0rth/marshall_smb_spider_vuln_fix
...
Fix for arbitrary file write via smb_spider module
2026-02-21 18:12:14 -05:00
Marshall Hallenbeck
0e0cbe0640
fix(spider_plus): properly clean path traversal parts from output filepath; fixes #1120
2026-02-21 16:58:36 -05:00
Marshall Hallenbeck
7845386783
docs: better wording regarding low quality AI tooling
2026-02-21 16:08:23 -05:00
Marshall Hallenbeck
5a2a73cb3a
docs: format link to ghostty's pr better
2026-02-21 16:07:38 -05:00
Alexander Neff
a3ac65ae13
Formatting
2026-02-21 18:05:53 +07:00
Alexander Neff
dc620ebcaa
Typo
2026-02-21 18:05:13 +07:00
Marshall Hallenbeck
f363124ed5
Merge pull request #1105 from Pennyw0rth/marshall_pr_template_check
...
Add issue template config and PR template check workflow
2026-02-19 16:10:33 -05:00
mverschu and Cursor
f8b44d21b3
Fix DPAPI credential lookup: add lowercase username for dploot compatibility
...
dploot looks up credentials with user.lower() (e.g. 'administrator'), but we
only stored them under context.username (e.g. 'Administrator'). Python dict
lookups are case-sensitive, so the credential wasn't found and master keys
were never decrypted.
Co-authored-by: Cursor <[email protected] >
2026-02-18 19:59:57 +01:00
Marshall Hallenbeck
b7137aec54
removed per PR discussion
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2026-02-18 13:50:08 -05:00
Marshall Hallenbeck
e9f366ff01
docs: update PR template
...
Update the pull request template to clarify AI usage and some additional helpful asks
Signed-off-by: Marshall Hallenbeck <[email protected] >
2026-02-18 11:57:44 -05:00
Marshall Hallenbeck
7c7a6254a8
docs(AI Policy): updates the AI policy to reflect NetExec's maintainers thoughts on AI and how the project will respond to AI generated code
2026-02-18 11:21:23 -05:00
Marshall Hallenbeck
d11d196dc9
docs: fix ghostty PR reference
2026-02-18 10:51:53 -05:00
Alexander Neff
ddc98f1cee
Add policy source
2026-02-17 23:39:37 +07:00
Coontzy1
d06d179d14
SAM History Dumping
...
smb: update proto args
tests: add --sam --history example
2026-02-16 21:44:04 -05:00
Alexander Neff
564dfec4d0
Add AI policy reminder to PR template
2026-02-17 00:01:09 +07:00
Alexander Neff
a6763d7e9b
Focus on issues and use 'we' instead of 'I'
2026-02-16 23:45:30 +07:00
Alexander Neff
8f54821dd6
Replace 'ghostty' with 'NetExec'
2026-02-16 23:40:31 +07:00
Alexander Neff
2097f37749
Add original ghostty AI policy
2026-02-16 23:39:40 +07:00
0x0Trace
9af3e37d71
PR changes 16_02_26_comments_newline_fixes
2026-02-16 09:48:09 -05:00
0x0Trace
8424b49e80
PR changes 16_02_26
2026-02-16 07:21:22 -05:00
0x0Trace
b20a7c1644
PR changes 13_02_26
2026-02-13 01:53:12 -05:00
Alexander Neff
6adb4c4788
Emphasize that required settings to test the PR are included in the setup guide
2026-02-12 15:52:02 +07:00
Alexander Neff
d0bbf40f4c
Update checklist section
2026-02-12 15:47:54 +07:00
0x0Trace
bda56dd968
Merge branch 'main' into feature/adcs-collection
2026-02-11 18:13:57 +02:00
Marshall Hallenbeck
1106f8edaa
Add issue template config and PR template check workflow
...
Disable blank issues and add contact links for the wiki and Discord.
Add a GitHub Actions workflow that comments on PRs missing template sections.
2026-02-10 22:07:20 -05:00
Alex
fbcda8b356
Merge pull request #1103 from 0xdf223/nfs_read_bug
2026-02-11 07:51:37 +05:30
oxdf
d49307052c
Fix NFS get_file and put_file auth using wrong handle during path traversal
...
get_file() and put_file() called update_auth(mount_fh) in their traversal
loops, always setting credentials based on the root/mount handle (uid=0).
With root_squash, this gets squashed to nobody, causing lookups to fail on
non-world-traversable directories. Changed to update_auth(curr_fh) to match
the correct behavior already used in ls().
2026-02-10 09:38:27 -05:00
Arnaud Rebillout
933b97193e
Switch to terminaltables3
...
From terminaltables3 README:
> [terminaltables3] is a fork of the terminaltables project. Which is
> archived and unmaintained. This library is in a new namespace but should
> otherwise be a drop in replacement. Maintaining goals consist of
> maintaining ecosystem compatibility, type annotations and responding to
> community pull requests.
Debian has removed the old terminaltables projects and only provides
terminaltables3 now (in next release Debian 14 forky, which is currently
Debian testing). Other distros will probably do the same, or have done
it already.
2026-02-10 20:07:32 +07:00
0x0Trace
a9efad3187
Merge branch 'main' into feature/adcs-collection
2026-02-09 15:44:27 +02:00
azoxlpf
e1a6f1525e
show auth credentials in kerberos_login connection error logs
2026-02-09 09:36:20 +01:00
Azox
1f640e7c80
Merge branch 'main' into feat/u2u-support
2026-02-08 23:52:15 +01:00
azoxlpf
a7ebd5cf35
restore OSError logging with secret in kerberos_login
2026-02-08 23:23:33 +01:00
azoxlpf
e1dfde2a35
fix AttributeError on NetBIOSTimeout in kerberos_login
2026-02-08 23:13:51 +01:00
mpgn
07447a040b
Merge pull request #1097 from Pennyw0rth/mpgn-patch-1
...
Refactor is_host_dc call based on file generation flags
2026-02-08 19:45:04 +01:00
mpgn
b7fa2dbea6
Fix comparison from '==' to 'is None' for clarity
...
Signed-off-by: mpgn <[email protected] >
2026-02-08 10:53:11 +01:00
mpgn
fddc0c4c6c
Update isdc initialization and checks
...
Change isdc initialization from False to None and update related checks.
Signed-off-by: mpgn <[email protected] >
2026-02-08 10:51:33 +01:00
mpgn
f51459ddbd
Refactor is_host_dc calls based on NTLM check
...
Signed-off-by: mpgn <[email protected] >
2026-02-07 23:32:43 +01:00
serwiz
83be3161ec
Did ruff check and all passed now.
2026-02-07 15:12:40 +01:00
serwiz
80d38c1013
Change final display. More readable.
2026-02-07 14:42:18 +01:00
serwiz
84b4831dba
Enhanced: can support mutiple SeMachineAccountPrivilege with detailed display
2026-02-07 14:31:50 +01:00
0x0Trace
54ab075420
Merge branch 'main' into feature/adcs-collection
2026-02-07 11:19:30 +02:00
azoxlpf
4db5e3fc01
add raise when no TGT found in ccache with --use-kcache
2026-02-06 22:45:41 +01:00
azoxlpf
28343fe03e
refactor : switch from ldap3 to impacket CRUD and add LDAPS
2026-02-06 21:48:35 +01:00
mpgn
e2dad24e92
Merge branch 'main' into feat/u2u-support
2026-02-06 20:37:26 +01:00
mpgn
581b9c6bbb
Merge pull request #1066 from Mauriceter/rdp-nego
...
Minor RDP enhancement
2026-02-06 20:21:50 +01:00
mpgn
417db64045
Merge branch 'main' into rdp-nego
2026-02-06 20:13:52 +01:00
mpgn
df26b69f6d
Refactor is_host_dc call based on file generation flags
...
Conditionally call is_host_dc based on arguments for generating files.
Signed-off-by: mpgn <[email protected] >
2026-02-06 19:43:18 +01:00
Aurélien CHALOT
d4dd0961f5
Remove function
2026-02-06 10:45:08 +01:00
azoxlpf
e1860e3da4
ruff fix
2026-02-05 19:10:08 +01:00
azoxlpf
3d9d231225
refactor: use impacket CRUD, remove ldap3 for targetedkerberoast
2026-02-05 19:08:32 +01:00
azoxlpf
7df50ab683
Update to support NT/AES/KCACHE
2026-02-05 17:07:19 +01:00
azoxlpf
c0ee685769
Add targeted Kerberoasting by injecting/removing temporary SPNs
2026-02-05 17:03:33 +01:00
azoxlpf
bbcd292759
use kdcHost only for dc_ip
2026-02-05 16:41:47 +01:00
Alex
e872b83f15
Merge pull request #1094 from Adamkadaban/wmi-exec-character-handling
2026-02-05 18:49:32 +05:30
serwiz
df1db9595d
Correcting stacktrace error due to invalid sids tab initialisation.
2026-02-04 22:25:20 +01:00
azoxlpf
e3b97c6edf
fix : support NTLM hash and AES key auth
2026-02-04 19:39:41 +01:00
Adam Hassan
8074d7652a
properly handle shell metacharacters in command output for wmi
2026-02-03 10:39:56 -08:00
serwiz
d0fced5bef
Correcting cross domain check to access the correct GPO PATH and add some debug output
2026-02-01 14:34:25 +01:00
0x0Trace
2129198056
Merge branch 'main' into feature/adcs-collection
2026-01-31 12:03:38 +02:00
Alex
434ed7328b
Merge pull request #1090 from Barneee/fix/ldap-attribute-userpassword
2026-01-29 15:28:49 +05:30
Dennis Barnekow
eb91b75a59
Fix inconsistent LDAP attribute name in module get-userPassword.py
...
Align output with queried LDAP attribute (userPassword)
Signed-off-by: Dennis Barnekow <[email protected] >
2026-01-29 10:32:42 +01:00
polair
8e7bc4ecd9
Delete nxc/modules/ntlm_mic_bypass.py
...
Signed-off-by: polair <[email protected] >
2026-01-28 19:57:46 +01:00
polair
f340ab8ff4
Merge: NTLM reflection CVE handling
...
Signed-off-by: polair <[email protected] >
2026-01-28 19:56:42 +01:00
polair
fa3ebc1f3c
Update ntlm_mic_bypass.py
...
Signed-off-by: polair <[email protected] >
2026-01-27 18:47:04 +01:00
polair
ec250afa1e
Update ntlm_mic_bypass.py
...
Signed-off-by: polair <[email protected] >
2026-01-27 18:45:58 +01:00
polair
aed1cb3e5c
Add files via upload
...
add SMB module NTLM MIC bypass
Signed-off-by: polair <[email protected] >
2026-01-27 18:33:41 +01:00
0x0Trace
12c1745a70
Merge branch 'main' into feature/adcs-collection
2026-01-26 16:07:49 +02:00
0x0Trace and Claude Opus 4.5
25f567a097
feat(ldap): make CertiHound a required dependency
...
Move CertiHound from optional to default dependencies and remove
conditional import handling since it will always be installed.
Co-Authored-By: Claude Opus 4.5 <[email protected] >
2026-01-26 09:03:48 -05:00
WSE
0e08d74e87
Added SID translation for more understanding
2026-01-24 23:11:25 +01:00
GHWX8660
6bd2de8242
Fix incorrect exception handling
2026-01-24 02:01:22 +01:00
GHWX8660
8f6d2afec1
Added SeMachineAccountPrivilige check to MAQ module. Need to implement SID translation.
2026-01-23 00:38:33 +01:00
azoxlpf
9e3f4a1919
add --u2u flag for S4U2Self+U2U authentication
2026-01-21 17:38:05 +01:00
Mauriceter
edd3085846
remove loop over rdp proto in nla check
...
Signed-off-by: Mauriceter <[email protected] >
2026-01-19 13:09:14 +01:00
Joachim De Bats
e77eb4e3fb
loop over proto, remove RDP|SSL from proto
2026-01-12 11:44:44 +01:00
Mauriceter
6bf34c8b92
Merge branch 'Pennyw0rth:main' into rdp-nego
2026-01-12 11:28:09 +01:00
Alex
08b43bf089
Merge pull request #1070 from Signum21/main
2026-01-12 10:04:02 +01:00
Alex
8aa9d6f97b
Merge pull request #1069 from strikoder/main
2026-01-12 09:50:23 +01:00
Signum21
6c063ce491
Add database fix commands for Windows
...
Signed-off-by: Signum21 <[email protected] >
2026-01-11 06:11:17 +01:00
Amin
3f59b017b6
Update --ls help text to clarify hidden files are displayed
2026-01-10 19:35:09 +01:00
Amin
dec2156ba5
Fix: FTP --ls now displays hidden files
2026-01-10 10:52:48 +01:00
0x0Trace
8c8f4300ae
Merge branch 'main' into feature/adcs-collection
2026-01-08 11:51:40 +02:00
Mauriceter
2ec020ada1
protoflags_nla missing for nla_screen()
...
Signed-off-by: Mauriceter <[email protected] >
2026-01-08 10:38:16 +01:00
Joachim De Bats
596bbe3d27
cleanup
2026-01-08 09:37:20 +01:00
Joachim De Bats
5f05c1d5d0
only nego when cheking nla
2026-01-07 20:51:20 +01:00
Alex
b1e9d633b8
Merge pull request #1053 from XiaoliChan/list-snapshot
...
[ShadowCopy] Add `list-snapshots` function for SMB & WMI
2026-01-05 00:52:55 +01:00
Alexander Neff
1d672fe7dc
Typos
2026-01-04 18:48:36 -05:00
Alexander Neff
0e0efd8a7a
Remove unused imports
2026-01-04 18:21:22 -05:00
Alexander Neff
6f73cdc556
Formatting
2026-01-04 17:43:52 -05:00
Alexander Neff
2ac20c4fd3
Fix enum_dns wmi query
2026-01-04 17:38:11 -05:00
Alex
182c89851d
Merge pull request #1057 from Pennyw0rth/neff-fix-nfs-ls
...
Fix ls arg in nfs
2026-01-01 15:05:40 +01:00
Alexander Neff
440ecb5b34
Handle lookup failures
2026-01-01 08:57:32 -05:00
Alexander Neff
d86df0e739
Update auth values for every sub dir
2026-01-01 08:57:23 -05:00
XiaoliChan
82f89676f5
[WMIExec] Bug fix
...
Signed-off-by: XiaoliChan <[email protected] >
2026-01-01 21:37:52 +08:00
XiaoliChan
60b2bbcc31
Merge branch 'main' into list-snapshot
2026-01-01 01:50:16 +08:00
Alex
a3d4216300
Merge pull request #1055 from termanix/terman-fix
...
Fix Not Listing All User on Groups
2025-12-31 18:42:16 +01:00
Alex
3fd564ba33
Merge pull request #1056 from Pennyw0rth/neff-fix-pre2k-change-pw
...
Allow changing password for locked pre2k accounts
2025-12-31 18:30:18 +01:00
Alexander Neff
dd6c51b4d3
Allow changing password for locked pre2k accounts
2025-12-31 12:05:22 -05:00
Alexander Neff
03d42f20ed
Fix display name for groups
2025-12-31 11:39:19 -05:00
Alexander Neff
3e3c19f28d
Formatting
2025-12-31 10:55:56 -05:00
Alexander Neff
e4b9dc7e84
Remove wrong comment
2025-12-31 10:50:27 -05:00
Alexander Neff
3908554688
Formatting
2025-12-31 10:49:12 -05:00
Alexander Neff
5cd36496f3
Add primaryGroupId search to admin check
2025-12-31 10:48:42 -05:00
Alexander Neff
50ce1129e6
Remove duplicate size limit
2025-12-31 10:26:04 -05:00
Alexander Neff
76fedd68ee
Simplify logic
2025-12-31 10:23:38 -05:00
termanix
08f35a4bc5
removed filter type
2025-12-31 17:02:03 +02:00
termanix
7dfe103636
Fixed if returns another group and removed nesting. It checks for groupDN and PrimaryGroupID
2025-12-31 16:59:41 +02:00
termanix
af3d62f4e2
ruff fix
2025-12-31 13:56:44 +02:00
termanix
461b1ed3f4
Fixed groups self.args
2025-12-31 13:41:42 +02:00
0x0Trace
9f27582b42
feat(ldap): add ADCS collection support via CertiHound
...
Add Active Directory Certificate Services (ADCS) enumeration to the
BloodHound collection workflow using CertiHound library.
Changes:
- Add 'adcs' to valid collection methods in resolve_collection_methods()
- Add CertiHound as optional dependency (pip install netexec[adcs])
- Implement _collect_adcs_for_bloodhound() for ADCS data collection
- Update bloodhound() to handle ADCS-only and combined collections
- Export ADCS data in BloodHound CE v6 format
2025-12-31 03:45:49 -05:00
XiaoliChan
35118c49e6
[WMI Query]: Rename function from 'wmi' to 'wmi_query'
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 20:21:49 +08:00
XiaoliChan
0b56dde6c6
[SMB] WMI Quqery: Bug fix of while condition
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 20:01:21 +08:00
XiaoliChan
28e5fa9eba
[List Snapshots] Show shadowcopy InstallDate in WMI Query
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 18:39:02 +08:00
XiaoliChan
6f421d977f
[List Snapshots] Add e2e command
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 18:25:24 +08:00
XiaoliChan
20e5fb1783
[WMI Query] Align with wmi.py and update func name in modules
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 18:19:55 +08:00
XiaoliChan
a88a6801bd
[ShadowCopy] Follow coding style
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 17:44:34 +08:00
XiaoliChan
14bac800c1
[ShadowCopy] Add list-snapshots function for SMB & WMI
...
Signed-off-by: XiaoliChan <[email protected] >
2025-12-30 17:31:38 +08:00
Alex
6ae1f0b93a
Merge pull request #1051 from Pennyw0rth/neff-binaries
...
Rename windows binary
2025-12-26 16:35:43 +01:00
Alexander Neff
a718893930
Rename windows binary
2025-12-26 10:29:06 -05:00
Alex
fbabaa73dc
Merge pull request #1050 from Pennyw0rth/fix-binaries
...
Fix binaries
2025-12-26 15:59:14 +01:00
Alexander Neff
613659d605
Fix hidden imports for binary
2025-12-26 09:45:25 -05:00
Alexander Neff
d541425628
Fix e2e tests
2025-12-26 09:45:10 -05:00
Alexander Neff
e2bd8b3f66
Fix vnc module
2025-12-26 09:44:30 -05:00
Alex
f1877176a5
Merge pull request #1048 from Pennyw0rth/v1.5.0-release
...
Release version 1.5.0 - Yippie-Ki-Yay
2025-12-24 17:33:14 +01:00
Alexander Neff
86444ab7f2
Release version 1.5.0 - Yippie-Ki-Yay
2025-12-24 07:45:30 -05:00
Aurélien CHALOT
d9610f1247
Simplified again
2025-12-24 13:37:03 +01:00
Aurélien CHALOT
5761da9332
Simplified logic
2025-12-24 13:26:48 +01:00
Aurélien CHALOT
21c0af3f95
Update e2e
2025-12-24 11:15:22 +01:00
Aurélien CHALOT
44ddcdc551
Add mssql_cbt checker module
2025-12-24 11:11:24 +01:00
Alex
7c0892236d
Merge pull request #1039 from Dfte/rdp_hosts
...
NXCDB RDP hosts
2025-12-23 01:13:37 +01:00
Alexander Neff
c95b1a7165
Formatting
2025-12-22 19:10:51 -05:00
Alex
3209fafea6
Merge pull request #1046 from Pennyw0rth/neff-patch-1
...
Small logging adjustment
2025-12-22 23:39:30 +01:00
Alexander Neff
3cdc389fc3
Make logging consistent
2025-12-22 17:34:35 -05:00
Alex
ddeadf3b3a
Merge pull request #1038 from MaxToffy/dns-nonsecure
...
New module `dns-nonsecure`
2025-12-22 18:12:17 +01:00
Alexander Neff
fc9aaceabe
Use ldap attribute parsing and clean up code
2025-12-21 18:14:19 -05:00
Alexander Neff
4c0c19dee5
Don't decode dNSProperty ldap attribute and query root DN
2025-12-21 18:14:00 -05:00
Wyndoo
beedfe0a97
Create get-scriptpath.py
...
Signed-off-by: Wyndoo <[email protected] >
2025-12-16 20:19:43 +01:00
Wyndoo
b2827adc71
Updating e2e_commands.txt
...
Signed-off-by: Wyndoo <[email protected] >
2025-12-16 19:21:34 +01:00
Alex
c5e2ad55e0
Merge pull request #1040 from Janrdrz/malwarebytes-indicator
...
enum_av module: add Malwarebytes EDR Agent indicator
2025-12-12 15:47:21 -05:00
Jan Rodriguez
7ad0224a1c
enum_av module: add Malwarebytes EDR Agent indicator
2025-12-12 16:06:37 -04:00
Aurélien CHALOT
203e82f3fd
Complete options
2025-12-12 15:51:51 +01:00
Aurélien CHALOT
29e17543bb
Add nxcdb hosts [nla]
2025-12-12 15:42:38 +01:00
MaxToffy
f78c212f04
Update log message for nonsecure dynamic updates
...
Signed-off-by: MaxToffy <[email protected] >
2025-12-12 12:13:48 +01:00
MaxToffy
5240a2ae30
New module 'dns-nonsecure'
2025-12-12 12:00:14 +01:00
Alex
69c87d2e7f
Merge pull request #1034 from azoxlpf/feat/raisechild-aes
...
Add AES key support for golden ticket forging
2025-12-06 11:23:23 -05:00
Alexander Neff
2b0273a585
Simplify logic
2025-12-06 11:19:34 -05:00
azoxlpf
43f8c793ad
simplify krbtgt key logging with dict lookup
2025-12-06 15:54:13 +01:00
azoxlpf
01e95888d1
move etype option to class variable
2025-12-06 15:48:24 +01:00
Alex
2cbf2448e8
Merge pull request #680 from MickeyDB/main
...
Added share exclusion functionality
2025-12-06 08:47:35 -05:00
Alexander Neff
471b300145
Strip down logic
2025-12-06 08:42:37 -05:00
Alexander Neff
8af35a01f8
Merge branch 'main' into exclude-shares
2025-12-06 08:35:45 -05:00
Alex
0c0c04d39c
Merge pull request #648 from c4pit0ch3f/c4pi/simple_auth_fix
...
added support for LDAP simple auth
2025-12-06 08:21:25 -05:00
Alexander Neff
9439048b1a
Add e2e tests
2025-12-06 08:11:59 -05:00
Alexander Neff
ca49b09806
Remove outdated info
2025-12-06 08:08:55 -05:00
Alexander Neff
d6a871e012
Remove local-auth concept from LDAP protocol
2025-12-06 08:03:37 -05:00
Alexander Neff
5598fb718e
Remove local-auth arg as this does not exist in LDAP
2025-12-06 08:02:20 -05:00
Alexander Neff
46430af861
Disable signing when using simple bind as there is no signing/encryption
2025-12-06 08:01:30 -05:00
Alexander Neff
d44b1097b8
Enforce that simple bind is only used with plaintext user:password login
2025-12-06 08:00:15 -05:00
Alexander Neff
147642cb74
Switch to fail message for strongerAuthRequired
2025-12-06 07:31:15 -05:00
Alexander Neff
a3a352abb9
Add simple-bind flag and add error messages when signing/sealing is required
2025-12-06 07:29:16 -05:00
Alexander Neff
1509ab0bdb
Remove unused smb variables
2025-12-06 07:20:26 -05:00
Alexander Neff
8a7af4b19e
Add error message to ldap strongerAuthRequired error
2025-12-06 07:06:45 -05:00
Alexander Neff
712196f480
Merge branch 'main' into ldap-simple-bind
2025-12-06 05:58:26 -05:00
Alex
10127db5ac
Merge pull request #939 from Dfte/mssql_cbt_rework
...
[MSSQL] Add EncryptionReq flag to MSSQL proto
2025-12-05 12:59:52 -05:00
azoxlpf
35e4b021aa
Add AES key support for golden ticket forging
2025-12-05 18:39:18 +01:00
Alex
91150d5612
Merge pull request #759 from KriyosArcane/history
...
Add --history option for NTDS
2025-12-05 10:25:20 -05:00
Alexander Neff
af0cf844d6
Move info to debug log
2025-12-05 09:21:08 -05:00
Alexander Neff
66f84dce5a
Readd mssql timeout
2025-12-05 09:15:52 -05:00
Alex
61f41990ed
Merge pull request #1033 from Pennyw0rth/neff-fix-1032
2025-12-05 08:22:40 -05:00
Alexander Neff
ff4dcdadf4
Merge branch 'main' into nfs-db
2025-12-05 08:06:00 -05:00
Alexander Neff
a6d95d8bae
Fix description
2025-12-05 08:02:21 -05:00
Alexander Neff
09fcb9b0a3
Ensure enough arguments have been supplied to split
2025-12-05 08:02:09 -05:00
Alexander Neff
6fa2b7aace
Fix #1032 to not create empty workspace, but return after help display
2025-12-05 08:01:29 -05:00
Alex
59cdb14ace
Merge pull request #943 from Mauriceter/vnc-rbf33
...
BUG Fix: VNC, better handling of RFB 3.3
2025-12-03 09:58:55 -05:00
Alexander Neff
c38b5377da
Formatting
2025-12-03 09:55:44 -05:00
Mauriceter
b9bf1b8102
Merge branch 'Pennyw0rth:main' into vnc-rbf33
2025-12-03 14:14:42 +01:00
Joachim De Bats
c4116187b5
removed unsupported flag and checks before plaintext_login
2025-12-03 14:13:39 +01:00
Alex
0437747900
Merge pull request #1028 from Pennyw0rth/neff-fix-582
...
Insert FQDN instead of NETBIOS name into winrm db
2025-12-03 05:50:58 -05:00
Alexander Neff
1b3584d01f
Insert FQDN instead of NETBIOS name into winrm db
2025-12-03 05:18:44 -05:00
Alex
1df94a1319
Merge pull request #1027 from Pennyw0rth/neff-update-impacket
...
Update impacket
2025-12-03 04:25:39 -05:00
Alexander Neff
a455998548
Update impacket
2025-12-03 04:03:51 -05:00
Alex
6120b9302d
Merge pull request #1020 from Testeur-2-stylos/enum-av-withsecure
2025-12-02 14:10:37 +01:00
Alex
7834917a40
Merge pull request #1026 from 4zuk4m/main
...
--no-admin-check flag for smb to disable the "admin check" with SC_MANAGER_ALL_ACCESS which is done by default
2025-12-02 13:51:23 +01:00
Alexander Neff
d2659ecd8e
Fix help text
2025-12-02 07:35:57 -05:00
Alexander Neff
50007fee59
Add e2e tests
2025-12-02 07:17:31 -05:00
Alexander Neff
d8d55186b8
Don't add history hashes to db
2025-12-02 07:15:51 -05:00
Alexander Neff
4f91322692
Improve help text
2025-12-02 07:14:07 -05:00
Alexander Neff
4b68fcdecd
Log how many kerb keys were dumped
2025-12-02 07:12:51 -05:00
Alexander Neff
f3546d776b
Add arg to dump kerberos keys
2025-12-02 07:07:30 -05:00
Alexander Neff
98e1ddf4a1
Enforce that history and enabled arg are mutually exclusive and fix history output
2025-12-02 06:43:51 -05:00
Alexander Neff
5b48857277
Clean up logic
2025-12-02 06:06:56 -05:00
Alexander Neff
7153472967
Remove dummy var
2025-12-02 05:58:16 -05:00
Alexander Neff
985adc1469
Rename function and hash to secrets
2025-12-02 05:57:13 -05:00
Zyp3
a61201c7d8
Change on the no admin check condition in check_if_admin to avoid double negation
2025-12-02 11:47:14 +01:00
Zyp3
2836374053
Change on condition of no admin check (previous code was wrong, i m tired)
2025-12-02 11:01:29 +01:00
Zyp3
6c879039b7
Added a 'no admin check' option for SMB to disable the default admin check via SC_MANAGER_ALL_ACCESS
2025-12-02 10:41:39 +01:00
Alex
7c295611a9
Merge pull request #1025 from azoxlpf/Fix/netbios-resolution-raisechild
...
Fix NetBIOS resolution in raisechild
2025-12-01 15:52:39 +01:00
Alexander Neff
30e7dec1be
Store configuration context when enumerating target
2025-12-01 09:35:53 -05:00
azoxlpf
40323a77f6
add _get_domain_netbios
2025-12-01 14:34:48 +01:00
Alex
5601c95b78
Merge pull request #960 from azoxlpf/fix/mssql-xpcmdshell-permission-check
...
Fix/mssql xpcmdshell permission check
2025-12-01 12:26:29 +01:00
Alexander Neff
4d2e72c29a
Remove dumma var
2025-12-01 06:22:44 -05:00
azoxlpf
d5c0b5903d
Display SQL error message when xp_cmdshell query fails
2025-12-01 11:57:36 +01:00
azoxlpf
d3520c71df
prefer IS_SRVROLEMEMBER + fn_my_permissions combo for permission check
2025-12-01 11:04:26 +01:00
azoxlpf
a442db74ac
ruff fix
2025-12-01 11:04:26 +01:00
azoxlpf
ebcb4add65
fix ruff E702
2025-12-01 11:04:26 +01:00
azoxlpf
f0fd30f854
add permission check to prevent false success on xp_cmdshell enable
2025-12-01 11:04:26 +01:00
Alex
586733e5e7
Merge pull request #1022 from Pennyw0rth/neff-remove-entra-sync
...
Remove duplicate module
2025-11-29 15:10:16 +01:00
Alex
e5d51003e3
Merge branch 'main' into history
2025-11-29 13:45:47 +01:00
Alexander Neff
0c6b18a06a
Remove duplicate module
2025-11-29 07:43:30 -05:00
Testeur-2-stylos
6b9a0fa8a2
enum_av : ruff checked
2025-11-28 10:15:16 +01:00
Testeur-2-stylos
4fa0cb3056
enum_av : modify WithSecure product name
2025-11-28 09:49:01 +01:00
Testeur-2-stylos
80a3c77cef
enum_av : add WithSecure detector
2025-11-28 09:30:32 +01:00
Alex
7f588958e3
Merge pull request #768 from tiagomanunes/module-usercredman
...
Add credential manager dump feature to winrm protocol
2025-11-26 17:12:25 +01:00
Alex
46ba161784
Merge pull request #1017 from lebr0nli/fix-put-file
...
Fix issues with transferring large or non-UTF-8 data over NFS
2025-11-26 16:17:17 +01:00
Alexander Neff
e3c0d9eed1
Update pynfsclient
2025-11-26 10:10:55 -05:00
Alexander Neff
14411310ed
Abort upload if exists and voted no
2025-11-26 05:50:18 -05:00
Alexander Neff
3a65ad8228
Enquote paths
2025-11-26 05:49:40 -05:00
Alexander Neff
457f3e608f
Update pynfsclient
2025-11-26 05:49:23 -05:00
Alan Li
ea18a99810
Transfer data without decoding and use wtpref as the chunk size
2025-11-26 00:51:20 +08:00
Alan Li
bd121ea40f
Fix incorrect log output
2025-11-25 22:56:43 +08:00
Alex
74a1b39f6e
Merge pull request #1014 from Pennyw0rth/neff-fix-s4u2self
...
Fix bug when using delegation
2025-11-25 14:52:29 +01:00
Alexander Neff
87d290deb6
Return session key to store ST
2025-11-25 08:28:15 -05:00
Alex
f3cf3f9934
Merge pull request #1012 from lap1nou/db-mssql
...
fix: MSSQL db fix
2025-11-23 12:53:06 +01:00
Alexander Neff
7a1bb614e6
Add loggedin and admin relationships to db
2025-11-23 06:48:35 -05:00
lap1nou
64967da0db
fix: MSSQL db fix
2025-11-22 22:18:49 +01:00
Alex
bdfdcd3031
Merge pull request #1011 from Pennyw0rth/neff-add-priv-check-mssql
2025-11-22 19:13:30 +01:00
Alexander Neff
99ab1acd5a
Fix sam/lsa dump if user is not local admin
2025-11-22 08:31:44 -05:00
Alex
8407071696
Merge pull request #1003 from Pennyw0rth/neff-add-mssql-sam-lsa
...
Add MSSQL LSA and SAM dump
2025-11-21 17:18:34 +01:00
Alex
60d8a71772
Merge pull request #968 from hilarex/patch-1
...
Update firefox.py for new AES-256-CBC encryption (fix dpapi error)
2025-11-21 17:07:25 +01:00
Alex
9d176da35b
Merge pull request #1008 from lap1nou/add-computer-db
...
feat(db): adding add-computer credential
2025-11-21 17:06:07 +01:00
Alexander Neff
37e5bb4671
Formatting
2025-11-21 11:03:41 -05:00
Alex
b49532045c
Merge branch 'main' into patch-1
2025-11-21 17:01:40 +01:00
Alexander Neff
cf9b89e26c
Formatting
2025-11-21 11:01:06 -05:00
Alexander Neff
83bc8bd181
Fix logging in group-mem
2025-11-21 10:50:02 -05:00
Alexander Neff
b90be108c4
Remove unused vars
2025-11-21 10:48:29 -05:00
Alexander Neff
068874517f
Fix debugging params
2025-11-21 10:47:50 -05:00
Alexander Neff
77b9c2aecd
Fix password field
2025-11-21 10:46:05 -05:00
Alexander Neff
4ffc19c3a2
Fix name/accountname vars
2025-11-21 10:45:36 -05:00
Alexander Neff
01ba023b1f
Fix deletion of computers via ldap
2025-11-21 10:19:36 -05:00
Alexander Neff
b98d07173b
Move variables to where they belong to prevent crash on deletion
2025-11-21 10:18:47 -05:00
Alexander Neff
31587e219a
Simplify logic
2025-11-21 10:07:37 -05:00
Alexander Neff
4dc1bba7e4
Fix logic issues and formatting
2025-11-21 09:58:28 -05:00
Alexander Neff
7a841f6396
Use fail instead of highlight for failures and formatting
2025-11-21 09:30:24 -05:00
Alexander Neff
d536372de7
Make context and connection module variables
2025-11-21 08:43:24 -05:00
Alexander Neff
9627d4ba86
Fix hash usage
2025-11-21 08:41:23 -05:00
Alex
308c44c18e
Merge pull request #1010 from Pennyw0rth/neff-fix-deprecation-warning
2025-11-21 13:04:24 +01:00
Alexander Neff
e6da5ad54e
Mute pypsrp logger
2025-11-21 07:01:56 -05:00
Alexander Neff
6cb3bb6627
Fix import to fix sqlalchemy deprecation warning
2025-11-21 06:53:40 -05:00
Alex
ab5989b0f5
Merge pull request #1009 from Janrdrz/kaseya-indicator
...
enum_av module: add Kaseya EDR Agent indicator
2025-11-21 12:50:18 +01:00
Jan Rodriguez
c196a0d2e5
enum_av module: add Kaseya EDR Agent indicator
2025-11-20 16:59:45 -04:00
lap1nou
19886c077a
feat(db): adding add-computer credential
2025-11-19 22:01:45 +01:00
Tiago Nunes
f5dc6c4b2b
Filter out empty credentials, like dploot
2025-11-19 19:31:52 +01:00
Tiago Nunes
9f9fe2f55b
Improve logging
2025-11-19 19:28:32 +01:00
tiagomanunes
fcf36d7dda
Merge branch 'main' into module-usercredman
2025-11-19 18:18:32 +01:00
Alex
03c2821c11
Merge branch 'main' into main
2025-11-19 12:05:22 +01:00
Alex
0573fac29e
Merge pull request #1005 from lap1nou/change-password-db
...
feat(db): modified the change-password module to modify the password in DB
2025-11-19 11:04:20 +01:00
Alexander Neff
d5beffc4c9
Readd user cred deletion in case there is a hash and we want to add pw (and vice vers)
2025-11-19 04:42:55 -05:00
Alexander Neff
987db4e76f
Fix deleting multiple cred ids
2025-11-19 04:42:32 -05:00
Alexander Neff
2f7234dd12
Remove inner exception handling so that pws are not updated if password change failed
2025-11-19 04:23:15 -05:00
Alexander Neff
6a1c2a168d
Only update credentials
2025-11-19 04:22:52 -05:00
Alexander Neff
4f8667b00b
Add e2e-tests
2025-11-19 03:55:41 -05:00
Alexander Neff
c425cefa25
Remove duplicate cred gathering group
2025-11-19 03:54:45 -05:00
Alexander Neff
7dc7ba946e
Merge branch 'main' into neff-add-mssql-sam-lsa
2025-11-19 03:52:21 -05:00
lap1nou
07a341fcac
feat(db): modified the change-password module to modify the password of the user in the DB if it's changed
2025-11-19 00:53:49 +01:00
lap1nou
684836f6c4
feat(db): modified the change-password module to modify the password of the user in the DB if it's changed
2025-11-19 00:39:34 +01:00
Tiago Nunes
df1d200174
Merge branch 'main' into module-usercredman
2025-11-18 21:28:36 +01:00
Alex
d1131975ca
Merge pull request #1004 from Pennyw0rth/neff-improve-help-page
...
Remove useless option group subtitles
2025-11-18 21:03:59 +01:00
Alexander Neff
21897fdb3e
Remove useless option group subtitles
2025-11-18 13:01:04 -05:00
Alexander Neff
123b14314f
Remove unnecessary dump-method arg
2025-11-18 12:51:28 -05:00
Alexander Neff
09d52f60af
Fix filename for sam dump
2025-11-18 12:39:11 -05:00
Alexander Neff
3a42297eaf
Fix winrm sam/lsa dump output path
2025-11-18 12:38:22 -05:00
Alexander Neff
86ed02d68a
Fix logging for lsa dump
2025-11-18 12:37:57 -05:00
Alexander Neff
16609eccfe
Add --lsa and --sam dumping to mssql
2025-11-18 12:37:30 -05:00
tiagomanunes
a0c69af12f
Merge branch 'main' into module-usercredman
2025-11-17 18:24:56 +01:00
Alex
e1729b19c1
Merge pull request #657 from XedSama/drop_library_ms
...
New module : drop-library-ms
2025-11-17 15:55:11 +01:00
Alexander Neff
2102847591
Fix e2etests
2025-11-17 06:57:53 -05:00
Alexander Neff
d19d24d4fd
Formatting
2025-11-17 06:42:51 -05:00
Alexander Neff
5474d64579
Formatting
2025-11-17 06:34:48 -05:00
Alexander Neff
a2fa01a09a
Formatting
2025-11-17 06:34:20 -05:00
Alexander Neff
e782f0a17c
Add IGNORE option as this exists in the code
2025-11-17 06:33:36 -05:00
Alexander Neff
c2726f7a16
Make name required otherwise you don't know the name to delete it
2025-11-17 06:32:08 -05:00
Alexander Neff
965f1976bb
Remove unnecessary check
2025-11-17 06:30:15 -05:00
Alexander Neff
affeed0c4e
Fiy syntax errors and update module specs
2025-11-17 06:27:22 -05:00
Alex
a9c97ab93d
Merge branch 'main' into drop_library_ms
2025-11-17 12:23:15 +01:00
Alex
fb282369ee
Merge pull request #825 from gatariee/feat-rbcd
...
added support for `--generate-st` and `--delegate-spn` flags
2025-11-16 14:02:39 +01:00
Alexander Neff
4fd412b9df
Use remoteName instead of manually building the target string
2025-11-16 07:57:50 -05:00
Alexander Neff
5161cbab03
Prevent .ccache.ccache filename
2025-11-16 07:53:32 -05:00
Alexander Neff
6f928782dc
Formatting
2025-11-16 07:51:45 -05:00
Alexander Neff
9f4246cf2d
Formatting
2025-11-16 07:30:43 -05:00
Alexander Neff
a829e958e6
Merge branch 'main' into rbcd-spn
2025-11-16 07:30:23 -05:00
Alexander Neff
718cbdb27c
Formatting
2025-11-16 07:29:00 -05:00
tiagomanunes
11e670a6f0
Merge branch 'main' into module-usercredman
2025-11-16 12:37:19 +01:00
Alex
0fcba561d7
Merge pull request #1000 from Pennyw0rth/neff-fix-#999
2025-11-16 11:12:09 +01:00
Alexander Neff
fa9f876287
Make --debug and --verbose mutually exclusive
2025-11-15 17:07:55 -05:00
Alex
d4b2ed0764
Merge pull request #997 from Pennyw0rth/neff-fix-mssql-exec
...
Add error checking to mssql_exec
2025-11-15 15:25:16 +01:00
Alex
4e5027d257
Merge branch 'main' into neff-fix-mssql-exec
2025-11-15 14:41:14 +01:00
Alex
5986caa4c1
Merge pull request #998 from Pennyw0rth/neff-swap-impacket-branch
...
Switch impacket back to fortra
2025-11-15 14:37:40 +01:00
Alexander Neff
c86e8fd333
Switch impacket back to fortra
2025-11-15 08:20:14 -05:00
Alexander Neff
85b224cb1e
Fix output type to satisfy splitlines()
2025-11-14 09:10:54 -05:00
Alexander Neff
fd0d0b2909
Remove unused import
2025-11-14 08:50:51 -05:00
Alexander Neff
bdf47959dc
Add check for error when the mssql query failed
2025-11-14 08:50:34 -05:00
Alex
277e05eb83
Merge pull request #981 from azoxlpf/fix/certipy-find-kerberos-auth
...
Fix Kerberos authentication handling in certipy-find
2025-11-14 13:01:44 +01:00
Alexander Neff
12134998e3
Formatting
2025-11-14 06:57:01 -05:00
Alex
653352cb3d
Merge pull request #792 from azoxlpf/feat/raisechild
...
Add raisechild module
2025-11-13 18:54:29 +01:00
Alex
f3211ddf34
Merge pull request #995 from Pennyw0rth/neff-fixes
...
Polish #895 and fix numerous bugs
2025-11-13 14:05:05 +01:00
Alexander Neff
a87143d27f
Fix #878 by adding a general FileNotFound exception handling
2025-11-13 07:00:59 -05:00
Alexander Neff
67ddd28ba2
Fix #889 by adding a proper fail message when nopac with null auth is used
2025-11-13 06:36:40 -05:00
Alexander Neff
0bfa8fb3b5
Fix #892 by setting remoteName of the connection
2025-11-13 06:28:25 -05:00
Marshall Hallenbeck
86bf9d446d
fix(samr/lsa): support hash authentication; fixes #871
2025-11-13 06:16:23 -05:00
tiagomanunes
1a080f0624
Merge branch 'main' into module-usercredman
2025-11-12 21:03:23 +01:00
Alex
fe8d9bc27c
Merge pull request #994 from Pennyw0rth/neff-fix-sccm
...
Fix encoding issue and use proper LDAP attr parsing in SCCM module
2025-11-12 15:30:39 +01:00
Alexander Neff
3c30b9c9f3
Remove unused import
2025-11-12 09:26:16 -05:00
Alexander Neff
2dbae0b5ae
Fix encoding issue and use proper ldap parsing
2025-11-12 09:23:42 -05:00
Alex
972c3dfd6a
Merge pull request #982 from stfnw/ldap-database-signing-channelbinding
...
Add LDAP signing and LDAPS channel binding info to db
2025-11-12 15:09:25 +01:00
Alexander Neff
1ea2d8ce1c
Readd table columns for signing&cbt
2025-11-12 09:04:27 -05:00
Alexander Neff
bd1aec630d
Merge branch 'main' into ldap_cbt_db
2025-11-12 09:02:25 -05:00
Alex
cb9ad2d6b8
Merge pull request #727 from Pennyw0rth/database_rework
...
Database rework
2025-11-12 13:13:54 +01:00
Alexander Neff
34f769cb6e
Remove unused import
2025-11-12 07:01:50 -05:00
Alexander Neff
80d2f4b6b4
Use nxc_logger for reflection error messages
2025-11-12 07:00:09 -05:00
Alexander Neff
d0a7ba097e
Formatting
2025-11-12 04:35:38 -05:00
Alexander Neff
13b4823e9a
Merge branch 'main' into database_rework
2025-11-12 04:29:37 -05:00
Alexander Neff
d443ddec92
Formatting
2025-11-12 04:25:34 -05:00
Alexander Neff
5db48461c2
Fix function description
2025-11-11 08:34:46 -05:00
Alexander Neff
d66adbf969
Formatting
2025-11-11 08:34:27 -05:00
Alexander Neff
a7618dc43f
Formatting
2025-11-11 07:26:15 -05:00
Alexander Neff
de0aa37450
Move function
2025-11-11 07:26:01 -05:00
Alex
ab9a47386c
Merge pull request #991 from Pennyw0rth/neff-fix-nfs-ls
...
Fix dir listing on NFS
2025-11-11 11:15:46 +01:00
tiagomanunes
527c9bf8b4
Merge branch 'main' into module-usercredman
2025-11-11 10:34:49 +01:00
Alex
3dfd421810
Merge pull request #990 from Janrdrz/forti-indicators
...
enum_av module: add FortiClient and FortiEDR indicators
2025-11-11 10:10:08 +01:00
Alexander Neff
343d1ce9dc
Update pynfsclient
2025-11-11 03:59:12 -05:00
Alexander Neff
3c8d5b209f
Continue requesting dir listing data if more entries can be fetched
2025-11-11 03:58:58 -05:00
Jan Rodriguez
da7425ddf9
fix: { typo
2025-11-10 22:02:36 -04:00
Jan Rodriguez
a1be84cec4
enum_av module: add FortiClient and FortiEDR indicators
2025-11-10 21:45:44 -04:00
azoxlpf
052ad2335c
move from ticketer import to manual PAC/TGT build
2025-11-10 22:33:13 +01:00
Alex
cfa3812a4e
Merge pull request #988 from augustus-7613/fix-typo-in-winrm-args
...
fix: Correct typos in WINRM argparse
2025-11-10 21:43:07 +01:00
augustus-7613
59fa75c8e4
fix: Correct typos in WINRM argparse
2025-11-10 18:40:37 +01:00
Joachim De Bats
2b38c865c8
removed stypes from host info
2025-11-10 14:30:28 +01:00
Alexander Neff
4b90445fc0
Simplify logic
2025-11-09 17:20:32 -05:00
Alexander Neff
1311a2aa11
Fix description
2025-11-09 17:20:23 -05:00
Alexander Neff
eac3253c90
Simplify logic
2025-11-09 16:37:54 -05:00
Alexander Neff
29a89d40c4
Directly use connection values
2025-11-09 16:28:08 -05:00
Alexander Neff
5353f6b6a5
Remov unnecessary checks
2025-11-09 16:09:12 -05:00
Alexander Neff
2ba4604ca3
Move contributor name to class desc
2025-11-09 16:08:50 -05:00
Joachim De Bats
82f2892a14
rename sec to stypes
2025-11-07 15:13:45 +01:00
Joachim De Bats
dc251ce751
moving probing to enum_host_info and fixing issues with stype 1
2025-11-07 11:18:59 +01:00
Mauriceter
bb63598ba7
Merge branch 'Pennyw0rth:main' into vnc-rbf33
2025-11-07 09:36:15 +01:00
hilarex
8d8f7955f9
Fix 3DES decryption for older Firefox versions by truncating keys to 24 bytes
...
Signed-off-by: hilarex <[email protected] >
2025-11-06 09:42:59 +01:00
azoxlpf
68fc9b8bf2
replace gettatr with connetion.args.dns_server
2025-11-03 15:00:43 +01:00
Alex
5a5c63f50b
Merge pull request #983 from Pennyw0rth/neff-fix-#980
...
Fix RDP execution without output
2025-11-03 14:27:32 +01:00
Alexander Neff
d24304a348
Replace static 'lodos' strings with 'test'
2025-11-03 07:59:27 -05:00
Alexander Neff
63b6d2bf08
Make mssql coerce description more accurate
2025-11-03 07:58:56 -05:00
Alexander Neff
d5dd1c1b15
Move logic of clipboard check into case when we want to get the output
2025-11-03 07:54:44 -05:00
Stefan Walter
34f624fdc8
Add LDAP signing and LDAPS channel binding info to db
...
Closes #731
2025-11-02 16:52:24 +01:00
azoxlpf
34b716b22a
neff requested changes
2025-11-02 15:06:00 +01:00
azoxlpf
564fc1e23c
remove unnecessary comment
2025-11-01 22:02:48 +01:00
azoxlpf
a3e14fe25a
Fix Kerberos authentication handling in certipy-find
2025-11-01 21:41:37 +01:00
tiagomanunes
a38cd132fc
Merge branch 'main' into module-usercredman
2025-11-01 13:14:43 +01:00
Alex
4260e51c36
Merge pull request #977 from Pennyw0rth/neff-fix-#976
...
Fix nxcdb signing export
2025-10-29 15:08:21 +01:00
Alexander Neff
281833ef4c
Fix nxcdb signing export
2025-10-29 09:54:16 -04:00
Alex
5454d63b1e
Merge pull request #925 from danwroy/print-to-log
...
Changed print() statements to new print-only logging method
2025-10-27 10:53:35 +01:00
Alexander Neff
d344651a5a
Use context logger instead of nxc_logger
2025-10-27 05:32:13 -04:00
danwroy
08fb634d7d
print to display in helpers/modules, restored version print in cli
...
even6_parser, pfx, get-network
Database-related modules left alone
2025-10-26 23:31:06 -07:00
Alexander Neff
6ef6cf6c92
Remove manual proto runner
2025-10-26 16:15:30 -04:00
Alex
da7a808294
Merge pull request #975 from Pennyw0rth/neff-fix-procdump
2025-10-26 21:01:33 +01:00
Alexander Neff
6df750462d
Update spec file
2025-10-26 15:14:05 -04:00
Alexander Neff
bc77940a34
Clean up code
2025-10-26 15:08:44 -04:00
Alexander Neff
e8d042d53a
Fix import problem and return on error
2025-10-26 15:02:32 -04:00
Alexander Neff
1f06f558d9
Formatting
2025-10-26 14:52:17 -04:00
Alexander Neff
5c2d42c68e
Update procdump executable
2025-10-26 14:52:17 -04:00
Tiago Nunes
42b44b63d2
Merge branch 'main' into module-usercredman
2025-10-24 18:44:49 +02:00
Alex
58e0f2f144
Merge pull request #970 from Pennyw0rth/neff-fix-#967
2025-10-24 14:52:55 +02:00
Alexander Neff
eb42f7bb06
Prompt fail message if no files could be extracted
2025-10-23 07:12:25 -04:00
Alexander Neff
75e4656356
Use smbexec for smb proto as it is the most reliable
2025-10-23 07:12:05 -04:00
Alexander Neff
4fc3d463b3
Fox kerberoast test
2025-10-23 06:03:48 -04:00
Alexander Neff
abf360f951
Formating
2025-10-23 05:14:21 -04:00
Alex
07c6bf6ccb
Merge pull request #941 from crosscutsaw/dump-computers_fix
...
Update dump-computers.py
2025-10-22 23:39:25 +02:00
Alexander Neff
f8d2ffafe6
Improve description
2025-10-22 17:36:11 -04:00
Alex
003043a3a3
Merge pull request #962 from azoxlpf/enhancement/schtask_as-adcs-reliability
...
feat(schtask_as): improve ADCS certificate handling and PFX retrieval
2025-10-22 23:32:00 +02:00
Alexander Neff
37868a127f
Formating
2025-10-22 17:28:09 -04:00
Alexander Neff
04b3ffef58
Remove unused imports
2025-10-22 23:19:54 +02:00
Alexander Neff
f9ec46eb51
Fix double logs directory path
2025-10-22 23:14:04 +02:00
Alexander Neff
af3677ebb6
Remove replace call to ensure windows compatability
2025-10-22 22:51:16 +02:00
Alexander Neff
bfbfaa954c
Use file format from connection object
2025-10-22 22:50:43 +02:00
Alexander Neff
f8e69c12cd
Refactor filename templating for logs
2025-10-22 22:32:50 +02:00
crosscutsaw
35885b51d1
Update dump-computers.py
...
Signed-off-by: crosscutsaw <[email protected] >
2025-10-22 20:11:14 +03:00
azoxlpf
56b74aed8c
remove certificate from user store after PFX export
2025-10-22 17:21:46 +02:00
Alexander Neff
55a80ecda5
Add short delay for check so cleanup is through
2025-10-22 11:15:49 -04:00
Alexander Neff
b3384a0971
Remove dependency to get-output-tries
2025-10-22 10:32:16 -04:00
Alex
bdd3722f48
Merge pull request #969 from Pennyw0rth/neff-improve-computers
2025-10-22 14:26:01 +02:00
Alexander Neff
9e8a8b7c40
Query the samaccountname instead of queryint the name and appending the dollar sign
2025-10-22 06:39:48 -04:00
hilarex
4ca939c96a
Update firefox.py for new AES-256-CBC encryption
...
Add Firefox 144+ password decryption support
- Support new AES-256-CBC encryption format (16-byte IV)
- Extract all master keys from NSS database (Firefox 144+ uses multiple)
- Expand keys to 32 bytes using SHA-256 when needed
- Maintain backward compatibility with legacy 3DES-CBC format
- Try all available keys until successful decryption
Signed-off-by: hilarex <[email protected] >
2025-10-22 10:09:36 +02:00
danwroy
742ed96f7f
Removed print_msg(), convert to display()
2025-10-20 14:39:24 -07:00
azoxlpf
7fc7806df0
Update 120s to 60s
2025-10-20 13:54:22 +02:00
azoxlpf
cbd218fd0c
feat(schtask_as): improve ADCS certificate handling and PFX retrieval
2025-10-17 16:50:36 +02:00
tiagomanunes
c77130298e
Merge branch 'main' into module-usercredman
2025-10-17 15:01:14 +02:00
Alex
3d407b47a4
Merge pull request #961 from Pennyw0rth/neff-fix-winrm-ps-output
...
Fix winrm output for powershell
2025-10-17 08:46:19 -04:00
Alexander Neff
0da48a35a4
Improve code for printing the PS streams
2025-10-17 07:59:03 -04:00
Alexander Neff
b232520362
Fix winrm output when executing powershell
2025-10-15 10:42:03 -04:00
tiagomanunes
88affc91fa
Merge branch 'main' into module-usercredman
...
Signed-off-by: tiagomanunes <[email protected] >
2025-10-13 18:23:16 +02:00
Alex
136b45cf28
Merge pull request #957 from Pennyw0rth/neff-fix-winrm-errors
...
Add stderr printing to winrm execution
2025-10-13 08:40:40 -04:00
Alexander Neff
4d637bcdaf
Remove unused import
2025-10-13 08:36:49 -04:00
Alexander Neff
594c3b9f75
Add stderr printing to winrm execution
2025-10-13 08:33:25 -04:00
tiagomanunes
ec0ed97f72
Merge branch 'main' into module-usercredman
2025-10-08 10:50:23 +02:00
Alex
f981215d77
Merge pull request #952 from Pennyw0rth/neff-fix-bh-stacktrace
...
Catch dns resolver issue when domain can't be resolved
2025-10-07 13:41:30 -04:00
Alexander Neff
bc5e842d69
Remove unused returns
2025-10-07 13:38:18 -04:00
Tiago Nunes
d3b324d001
Select correct masterkey based on DPAPI_BLOB metadata
2025-10-07 19:37:25 +02:00
Alexander Neff
e22b41d6d0
Catch errors from the bloodhound run
2025-10-07 13:35:31 -04:00
Alexander Neff
1ae8c5a148
Also catch NoNameservers
2025-10-07 13:32:30 -04:00
Alexander Neff
dece6b0177
Catch dns resolver issue when domain can't be resolved
2025-10-07 13:28:30 -04:00
tiagomanunes
d6650a0db7
Merge branch 'main' into module-usercredman
2025-10-07 18:56:44 +02:00
Alex
1f04ce2feb
Merge pull request #951 from Pennyw0rth/neff-fix-backup_operator
...
Readd removed code
2025-10-07 12:41:15 -04:00
Alexander Neff
ad71df8031
Readd removed code
2025-10-07 12:16:12 -04:00
tiagomanunes
cb3cd3dd7b
Merge branch 'main' into module-usercredman
2025-10-05 19:13:11 +02:00
Alex
bb668cae65
Merge pull request #857 from Pennyw0rth/neff-add-certipy-find
...
Add certipy module with 'find' implementation
2025-10-05 11:59:54 -04:00
Alex
5c5f19b9fd
Merge pull request #946 from Pennyw0rth/neff-fix-#945
...
Use SMBv1 in enum_host_info to get Windows version from smbv1
2025-10-05 08:54:55 -04:00
Alexander Neff
ec05735933
Fix copilot solution where smbv1 could not be initialized anymore
2025-10-04 17:58:00 -04:00
Alexander Neff
5793ccc778
Fix logic bug where a connection would have been created if there is a timeout
2025-10-04 17:51:33 -04:00
Alexander Neff
19ed5d31e1
Integrate SMBv1 setup on first connection into create_conn_obj
2025-10-04 07:08:40 -04:00
Alexander Neff
5fe634ddc2
Use SMBv1 in connection info to get hostname from smbv1
2025-10-03 17:49:29 -04:00
tiagomanunes
1800062f31
Merge branch 'main' into module-usercredman
2025-10-02 16:45:43 +02:00
Joachim De Bats
76961df2fa
better handling of RFB 3.3
2025-10-02 10:03:16 +02:00
crosscutsaw
b3c34a931c
Update dump-computers.py
...
added samaccountname fallback
2025-10-01 02:01:26 +03:00
Deft_
f77c6ae8d8
sed Encryption/EncryptionReq
...
sed Encryption/EncryptionReq
Signed-off-by: Deft_ <[email protected] >
2025-09-29 09:46:49 +02:00
Deft_
8ebd935d11
Add encryption flag in enum_hosts
...
Signed-off-by: Deft_ <[email protected] >
2025-09-28 21:33:14 +02:00
Deft_
b2e97cb973
Merge branch 'main' into mssql_cbt_rework
2025-09-28 19:20:08 +02:00
Aurélien CHALOT
378a8b48bf
Comply with Ruff
2025-09-28 19:17:15 +02:00
Aurélien CHALOT
2cab05041f
Patch so that authent works anytime
2025-09-28 19:04:46 +02:00
Aurélien CHALOT
71d7ef0f3f
Remove double : typo
2025-09-28 18:01:08 +02:00
Aurélien CHALOT
5bbad4e023
Add ChannelBinding computing for MSSQL
2025-09-28 17:49:25 +02:00
Alexander Neff
35e9afdbb8
Remove StringIO and remove impackets dump function calls
2025-09-28 11:21:32 -04:00
Alexander Neff
bedb06a49a
Remove StringIO
2025-09-28 11:20:27 -04:00
Alex
800bc5ec5e
Merge pull request #938 from Dfte/dedent2
...
Striped
2025-09-28 09:39:16 -04:00
Aurélien CHALOT
08bb98d068
Striped
2025-09-28 15:31:42 +02:00
Alex
d151912354
Merge pull request #937 from Dfte/dedent
...
Add dedent for easier reading
2025-09-28 09:28:48 -04:00
Alexander Neff
5ef5c7313a
Remove unnecessary strip command
2025-09-28 09:26:16 -04:00
Aurélien CHALOT
81b724a71e
Add dedent for easier reading
2025-09-28 15:04:04 +02:00
Tiago Nunes
d27f1c207c
Add exception handling around credential decryption
2025-09-28 11:48:42 +02:00
tiagomanunes
c049826c98
Merge branch 'main' into module-usercredman
2025-09-28 09:45:40 +01:00
Alex
08207eef18
Merge pull request #935 from Dfte/ntlmreflection_path
...
[NTLM reflection] Fix false assumption over smb signing
2025-09-27 10:55:20 -04:00
Alexander Neff
1c77c6496f
Typo
2025-09-26 13:08:52 -04:00
Aurélien CHALOT
c77800b9eb
fix typo
2025-09-26 18:09:32 +02:00
Aurélien CHALOT
f45baf80dd
Add modification info
2025-09-26 17:19:17 +02:00
Aurélien CHALOT
aa5dc329f9
Fix false assumption over smb signing
2025-09-26 17:06:40 +02:00
azoxlpf
e2d160bccc
fix Ruff violations and normalize indentation
2025-09-26 09:28:19 +02:00
danwroy
f11e848e6e
Fix: auto-formatting removed, all edits from nxcdb.py removed
2025-09-25 20:56:06 -07:00
Alexander Neff
2c07e1d801
Formatting
2025-09-25 19:03:13 -04:00
Alexander Neff
98e86ea33e
Merge branch 'main' into winrm_dpapi
2025-09-25 19:01:38 -04:00
Alex
6ba4427701
Merge branch 'main' into feat/raisechild
2025-09-25 18:46:11 -04:00
Alexander Neff
7de5c48492
Rename module back to certipy-find because this is the only function we want to integrate
2025-09-24 18:17:10 -04:00
Alexander Neff
db887ac7b3
Fix certipy dependency name
2025-09-24 18:10:39 -04:00
Alexander Neff
8f72ddd6ca
Add category for certipy-find
2025-09-24 18:10:21 -04:00
Alexander Neff
84b59d6c10
Merge branch 'main' into neff-add-certipy-find
2025-09-24 12:23:02 -04:00
Alex
0278b81c3b
Merge pull request #932 from joaovarelas/main
...
enum_av module: add checkpoint indicators
2025-09-24 12:17:33 -04:00
joaovarelas
b2e123417b
enum_av module: add checkpoint indicators
2025-09-24 16:44:25 +01:00
Alex
32c1a4aff2
Merge pull request #908 from Dfte/schtaskas_certreq
...
Add certificate request options to schtask_as
2025-09-23 05:43:33 -04:00
Alexander Neff
002480462c
Formatting
2025-09-21 12:32:38 -04:00
Alexander Neff
55f1581c8e
Small error message adjustment
2025-09-21 12:31:12 -04:00
Alexander Neff
4c256884db
Add more flexibility to account for possible attacker time skew and delete task even when erroring
2025-09-21 12:24:43 -04:00
Alexander Neff
5a756f1129
Add error output if schtask raises an exception
2025-09-21 12:23:49 -04:00
Alexander Neff
9bac586a49
Ensure ca_name arg has the correct format
2025-09-21 12:23:28 -04:00
Alex
7df74b90a5
Merge branch 'main' into schtaskas_certreq
2025-09-21 08:39:00 -04:00
Alex
9cf6f59f90
Merge pull request #929 from Dfte/fix_schtask_as
...
Fix missing ,
2025-09-21 08:34:15 -04:00
Alex
56da9afc63
Merge pull request #919 from Pennyw0rth/neff-allow-kerbroast-computers
...
Allow kerbroast computers
2025-09-21 08:28:57 -04:00
Aurélien CHALOT
4eadf3b5a0
Overall review
2025-09-21 10:33:08 +02:00
Aurélien CHALOT
f1f0fba2dd
Overall review
2025-09-21 10:28:21 +02:00
Aurélien CHALOT
509b238fb3
Overall review
2025-09-21 10:25:50 +02:00
Aurélien CHALOT
384f362579
Fix missing ,
2025-09-20 21:14:06 +02:00
Alexander Neff
444e3ddb29
Properly format computer accounts for tgs roasting
2025-09-19 19:06:26 -04:00
Alexander Neff
393be37b92
Refactor tgs output
2025-09-19 14:41:21 -04:00
Alexander Neff
52858cd750
Ensure format of CA
2025-09-18 13:33:16 -04:00
Alex
c689eb0978
Merge pull request #851 from azoxlpf/fix/nxdomain-duplicate-logs
...
Stop logging NXDOMAIN multiple times in DNS resolution
2025-09-18 12:07:40 -04:00
Alex
0bc8101eb7
Merge pull request #920 from Pennyw0rth/neff-fixes
...
Minor bug fixes
2025-09-17 09:47:42 -04:00
danwroy
4df95b4118
Changed print() statements to new print-only logging method (top-level files only)
...
Added formatting-free "print_msg" method to nxc_logger, with option to
print to log file
2025-09-17 04:10:53 -07:00
Alexander Neff
f4bd6f8798
Formatting
2025-09-10 19:11:35 -04:00
Alexander Neff
abd0c83ef7
Cast values to string in case bytes are returned
2025-09-10 19:07:26 -04:00
Alexander Neff
3bb18b4ee4
Add error handling for each input target in case the parsing fails for one file
2025-09-10 19:06:03 -04:00
Alexander Neff
30c2f23dcf
Add SYSVOL share to exclusion list of scuffy
2025-09-10 19:05:32 -04:00
Alexander Neff
e80654f980
Allow roasting computer accounts as well if specified
2025-09-10 12:49:17 -04:00
Marshall Hallenbeck
027e520824
Merge pull request #912 from Pennyw0rth/marshall-kerberoast-user-list-fix
...
Allow kerberoasting on specific users
2025-09-10 11:42:27 -05:00
Alexander Neff
58428af5ae
Add record type to fail output
2025-09-09 20:17:58 -04:00
Marshall Hallenbeck
53fbac1279
Merge pull request #911 from azoxlpf/fix/ldap-dclist-hostname-kerberos
...
Resolve hostname to IP in dc_list when no --dns-server is given
2025-09-09 19:15:29 -05:00
Alex
c24c2993c5
Merge pull request #918 from azoxlpf/fix/ntlm_reflection-transport-error
...
catch BrokenPipe and transport errors to prevent session crash
2025-09-10 01:25:27 +02:00
Alexander Neff
502236f0fc
Formatting
2025-09-09 19:22:02 -04:00
Alexander Neff
ae23596a2d
Wrap critical parts into try&except
2025-09-09 19:20:51 -04:00
Alexander Neff
cc7d8aa8f7
Wrap critical parts into try&except
2025-09-09 19:19:09 -04:00
Alexander Neff
5e2ec7326e
Remove unused import
2025-09-09 18:42:25 -04:00
Alexander Neff
b3b38d9e2a
Move trigger_winreg to smb protocol
2025-09-09 18:41:30 -04:00
Alexander Neff
f17cc9c502
Add debug log messages
2025-09-09 18:35:59 -04:00
Alex
9ab9989f27
Merge pull request #914 from azoxlpf/fix/webdav-transport-errors
...
fix(webdav): handle transport errors and prevent session crash
2025-09-09 23:29:47 +02:00
Alexander Neff
d4b91f72ed
Remove unnecessary returns
2025-09-09 16:39:57 -04:00
Alexander Neff
074309f2f2
Simplify logic
2025-09-09 16:38:04 -04:00
Alexander Neff
7b3debabab
Use contextlib instead of empty try&except
2025-09-09 16:37:36 -04:00
azoxlpf
bfd014f9d2
catch BrokenPipe and transport errors to prevent session crash
2025-09-08 17:45:45 +02:00
Marshall Hallenbeck
a610adedc3
Merge pull request #887 from Pennyw0rth/issues-881
...
fix(enum_ca): properly return false if theres an error with fetchList
2025-09-08 09:31:46 -04:00
azoxlpf
e3ef313e34
remove null session skip
2025-09-08 14:58:48 +02:00
Alex
d0ea79a199
Merge pull request #916 from Pennyw0rth/neff-enforce-category
...
Enforce that category is one of the enums
2025-09-08 12:51:28 +02:00
Alexander Neff
47ec489a93
Enforce that category is one of the enums
2025-09-08 04:11:38 -04:00
Alexander Neff
011fc0d9dd
Merge branch 'main' into issues-881
2025-09-08 04:07:26 -04:00
Alexander Neff
1fe2240018
Remove return values and add module options text
2025-09-08 04:03:50 -04:00
Aurélien CHALOT
f7c12ef462
s/successs/debug/d
2025-09-08 09:46:56 +02:00
Alex
da4a846f7f
Merge pull request #909 from azoxlpf/fix/maq-null-session-crash
2025-09-08 00:02:19 +02:00
Alexander Neff
9ba651c3e8
Simplify maq code
2025-09-07 17:37:53 -04:00
azoxlpf
f4b6fb5c0b
rename on_login to on_admin_login
2025-09-07 18:53:57 +02:00
Azox
847192c62d
Merge branch 'main' into feat/raisechild
...
Signed-off-by: Azox <[email protected] >
2025-09-07 18:29:11 +02:00
azoxlpf
f89de1c617
Update code to follow new module conventions
2025-09-07 18:22:24 +02:00
azoxlpf
d2f6a33587
fix(webdav): handle transport errors and prevent session crash
2025-09-04 11:14:56 +02:00
azoxlpf
7507b238f0
add --dc-list to the e2e tests
2025-09-03 20:50:27 +02:00
Marshall Hallenbeck
ca52cc099f
feat(kerberoast): move get_conditional_action to helper and implement specific user kerberoasting
2025-09-03 13:40:57 -04:00
Alex
e434ec0fea
Merge pull request #905 from Mauriceter/CVE-2025-33073
2025-09-03 17:41:22 +02:00
Alex
8348fbdb32
Merge pull request #586 from Mauriceter/sccm-winreg
2025-09-03 17:41:05 +02:00
azoxlpf
da1b65f1aa
use parse_result_attributes and simplify result parsing
2025-09-03 16:58:19 +02:00
azoxlpf
eb38cd940e
fix: resolve hostname to IP in dc_list when no --dns-server is given
2025-09-03 13:57:55 +02:00
azoxlpf
b10b30736d
Fixing indentation
2025-09-03 11:44:08 +02:00
azoxlpf
acadc4b41f
avoid crash when LDAP search returns no result
2025-09-03 10:48:34 +02:00
Aurélien CHALOT
bb5cb3f25e
Initialize empty self.ca_name and self.template_name
2025-09-02 15:39:07 +02:00
Aurélien CHALOT
a94d9d2a45
Add certificate request options to schtask_as
2025-09-02 14:03:01 +02:00
Alex
c13aba6a24
Merge pull request #907 from SGMG11/schtasks_silent
2025-09-02 01:32:37 +02:00
Alexander Neff
a2d489dc48
Don't display show_output twice
2025-09-01 11:00:44 -04:00
Alexander Neff
a0375cb592
Use boolean check instead of string
2025-09-01 11:00:32 -04:00
Alexander Neff
5d23fb1012
Merge branch 'main' into schtask_silent
2025-09-01 10:54:01 -04:00
Alexander Neff
08db720176
Linting
2025-09-01 10:51:45 -04:00
Alexander Neff
3efb829eec
Add module category
2025-09-01 10:43:54 -04:00
Alexander Neff
857cb479e6
Merge branch 'main' into ntlm_reflection
2025-09-01 10:43:36 -04:00
Alexander Neff
47f90aa50c
Improve module description
2025-09-01 10:40:53 -04:00
Joachim De Bats
c564a31435
indentation issue
2025-09-01 16:24:45 +02:00
Alexander Neff
b80a5a041c
Readd signing check for database site
2025-09-01 10:14:51 -04:00
Alexander Neff
c751ede184
Don't display rpc_access_denied because of too much output of large ranges
2025-09-01 09:50:31 -04:00
Alexander Neff
48a799750b
Rename module
2025-09-01 09:50:03 -04:00
Alexander Neff
5f8ac2c89d
Rename module, improve descr and correct takeover report
2025-09-01 09:48:38 -04:00
Alexander Neff
db7c590e4f
Simplify reg queries
2025-09-01 09:38:03 -04:00
Alexander Neff
3860ba71c9
Simplify reg queries
2025-09-01 08:22:21 -04:00
Joachim De Bats
1a846462ae
updating module name
2025-09-01 09:29:36 +02:00
Alexander Neff
b37c657b79
Use existinig smb connection to get signing requirements
2025-08-31 15:55:55 -04:00
Alexander Neff
df224851c6
Add enumeration category
2025-08-31 15:55:40 -04:00
Alex
7cecb45019
Merge branch 'main' into sccm-winreg
2025-08-31 21:49:21 +02:00
mpgn
2f62843e41
Merge pull request #877 from Pennyw0rth/passpool
2025-08-31 21:40:20 +02:00
Alexander Neff
ae8fc4633b
Merge branch 'main' into passpool
2025-08-31 15:31:24 -04:00
Alexander Neff
5789296631
Formatting
2025-08-31 15:25:10 -04:00
Alex
6e7edbd60f
Merge pull request #859 from Pennyw0rth/neff-add-module-categories
...
Add module categories
2025-08-31 17:27:46 +02:00
Alexander Neff
0bcafedb46
Linting
2025-08-31 10:11:56 -04:00
Alexander Neff
d296737398
Add category for lockscreendoors module
2025-08-31 10:10:19 -04:00
Alexander Neff
35e3219ce5
Functionalise and extract module displaying logic
2025-08-31 10:08:04 -04:00
Alexander Neff
e0f5097ae1
Resolve merge conflicts
2025-08-30 21:06:52 -04:00
Alex
6c482cdd0e
Merge pull request #866 from rtpt-romankarwacik/simple_efs_activator
...
Remove efsr_spray module, superceded by simply using EPM map on the EFS interface
2025-08-31 02:55:33 +02:00
Alexander Neff
e428bcc788
Move function
2025-08-30 20:45:49 -04:00
Alexander Neff
d6609ae8a3
Sorted win list
2025-08-30 19:14:02 -04:00
Marshall Hallenbeck
cc01381c0a
feat(ldap): display group description for --groups
2025-08-29 10:46:55 -04:00
Joachim De Bats
cff422c6f5
ruff
2025-08-29 16:00:45 +02:00
Joachim De Bats
71b5742d63
unhappy ruff
2025-08-29 15:50:50 +02:00
Alex
882e93fc6a
Merge pull request #830 from 0xb11a1/add-tests-ntds-dump-raw
...
Fix poetry run pytest & adding tests to ntds-dump-raw module
2025-08-29 13:54:44 +02:00
Joachim De Bats
b295bb23bd
adding test in e2e _commands.txt
2025-08-29 11:26:48 +02:00
Mauriceter
1272f12e1c
Merge branch 'Pennyw0rth:main' into CVE-2025-33073
2025-08-29 10:57:56 +02:00
Joachim De Bats
7d3e48d0af
new module cve-2025-33073
2025-08-29 10:52:35 +02:00
Joachim De Bats
900fa08989
new module ntlm reflexion
2025-08-29 10:44:05 +02:00
Joachim De Bats
c5044f8aec
sccmrecon commit
2025-08-29 09:49:35 +02:00
Mauriceter
4588dc605c
Merge branch 'Pennyw0rth:main' into sccm-winreg
2025-08-29 09:43:44 +02:00
SGMG11
304c8fa6e0
Updated schtasks_as.py to control if output will be provided
...
Signed-off-by: SGMG11 <[email protected] >
2025-08-28 09:09:09 +02:00
Alex
864c88bc6a
Merge pull request #904 from lodos2005/patch-3
...
Unnecessary file
2025-08-27 20:43:34 +02:00
Hakan Yavuz
7589e124dd
An unnecessary file left over from GOAD Lab.
2025-08-27 21:32:58 +03:00
Alexander Neff
1261782177
Remove unnecessary new line in imports
2025-08-26 17:53:42 -04:00
mpgn
509f31f4d6
update passpol
2025-08-25 23:28:06 +02:00
mpgn
d6e0607ed0
update passpol
2025-08-25 23:25:55 +02:00
Alex
d4c38ead3c
Merge pull request #901 from Pennyw0rth/neff-fix-879
...
Fix 879
2025-08-24 19:48:33 +02:00
Alexander Neff
a050a59eab
Remove unnecessary try&except and return statements
2025-08-24 12:30:43 -04:00
Alexander Neff
915a68395a
Don't close connection after running the module
2025-08-24 12:30:14 -04:00
Alexander Neff
fa27fa793b
Add module option text
2025-08-24 12:29:40 -04:00
Marshall Hallenbeck
ccac581646
Remove debug log for DNS server in resolve_hostname
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2025-08-24 10:20:06 -04:00
Marshall Hallenbeck
39d63882ce
refactor(dc_list): clean up code
2025-08-24 10:20:06 -04:00
Marshall Hallenbeck
f0c9365f47
fix(dc_list): disable automatic configuration of DNS so we can override it to point to target; fixes #873
2025-08-24 10:20:06 -04:00
Marshall Hallenbeck
0ba9368004
fix(printnightmare): do not exit thread on failure to bind so other modules can run; fixes 882
2025-08-24 10:19:06 -04:00
Alex
911e3656f4
Merge pull request #900 from Pennyw0rth/neff-fix-anon-auth-badsuccessor
...
Refactor to use internal ldap search function to prevent stack traces
2025-08-24 16:08:14 +02:00
Alex
97e056e714
Merge pull request #899 from Pennyw0rth/neff-fix-anon-auth-gmsa
...
Fix stacktrace with anon auth and using gmsa
2025-08-24 16:08:07 +02:00
Alex
3331db779b
Merge pull request #898 from Pennyw0rth/neff-update-aardwolf
...
Fix aardwolf logging
2025-08-24 16:08:02 +02:00
Alexander Neff
80481fb685
Refactor to use internal ldap search function to prevent stack traces
2025-08-24 09:11:10 -04:00
Alexander Neff
206ba91e68
Fix anon auth and gmsa module by using internal search function
2025-08-24 08:30:47 -04:00
Alexander Neff
64c3c25fcc
Fix aardwolf logging
2025-08-24 07:56:30 -04:00
mpgn
486fc20493
update passpol
2025-08-23 19:36:07 +02:00
Alex
d2da64e7b3
Merge pull request #863 from adityatelange/adityatelange-patch-1
2025-08-23 16:38:22 +02:00
Marshall Hallenbeck
cb450cd5d9
Merge pull request #876 from Pennyw0rth/issues-874
...
fix(ldap): return False for general OS errors
2025-08-23 10:35:05 -04:00
Alexander Neff
0b8b577421
Improve error messages
2025-08-23 09:02:48 -04:00
Alexander Neff
9f636c9504
Move ldap information gathering to enum_host_info
2025-08-23 08:58:28 -04:00
Alex
a1ccb90065
Merge pull request #867 from P4cm4n90/patch-1
...
Update gpp_password.py
2025-08-23 13:39:08 +02:00
Alexander Neff
d28f447c58
Add module option text
2025-08-23 07:28:09 -04:00
Marshall Hallenbeck
c5bb5a2692
fix(enum_ca): properly return false if theres an error with fetchList; also ruff fix for return None
2025-08-21 11:40:47 -04:00
Roman Karwacik
81c6d9fb63
move get_dynamic_endpoint to NXCModule
2025-08-21 09:03:26 +02:00
mpgn
824dbffd12
add test
2025-08-20 23:33:18 +02:00
mpgn
c5792dbbc6
fix ruff
2025-08-20 23:30:59 +02:00
mpgn
52ca6347fd
add ldap pass-pol option #868
2025-08-20 23:27:24 +02:00
Marshall Hallenbeck
9b8e7534a8
fix(ldap): return False for general OS errors
2025-08-20 14:31:08 -04:00
Roman Karwacik
eadd3a1b90
fix ruff errors
2025-08-20 15:36:00 +02:00
Roman Karwacik
ecbbb9a4d7
add placeholder with [REMOVED] description
2025-08-20 15:29:47 +02:00
Damian
08627beed9
Update gpp_password.py
...
The gpp_password accepts only share's name "SYSVOL". When openldap is used, the original SYSVOL share can named in lowercase manner - for example "sysvol".
The fix introduces treating "SYSVOL" share name as case-insensitive.
Signed-off-by: Damian <[email protected] >
2025-08-20 12:02:55 +02:00
Roman Karwacik
2a5d0f0e24
Remove efsr_spray module, superceded by simply using EPM map on the EFS interface before using the coercion methods
2025-08-20 11:03:21 +02:00
Alexander Neff
084d048712
Change module categories
2025-08-19 13:27:32 -04:00
Alexander Neff
7dad6d7697
Switch user-desc module to credential dumping
2025-08-19 13:16:56 -04:00
Alexander Neff
f90e648f7e
Fix listing modules without IP
2025-08-19 12:57:57 -04:00
Alexander Neff
013f0ecbf9
Formatting
2025-08-19 12:55:28 -04:00
Aditya Telange
5a44e466d3
Show message when krb conf is saved. Help user to export it as a kerberos understandable variable
...
Signed-off-by: Aditya Telange <[email protected] >
2025-08-19 21:37:23 +05:30
Mickey De Baets
1b8066bc25
Merge branch 'main' into main
2025-08-19 12:30:13 +02:00
mpgn
8af4bfa626
Merge pull request #856 from Pennyw0rth/guest
2025-08-17 22:07:26 +02:00
tiagomanunes
d3d6697eb4
Merge branch 'main' into module-usercredman
2025-08-17 11:11:36 +01:00
Alex
5f29dd0779
Merge pull request #858 from Z4kSec/main
...
Update Masky module to 0.2.1 (fix warning message)
2025-08-16 22:24:11 +02:00
Alexander Neff
441badbced
Fix lock file
2025-08-16 16:17:48 -04:00
Alexander Neff
86ac49caf7
Merge branch 'main' into masky
2025-08-16 16:17:35 -04:00
Alexander Neff
88684dc175
Fix lock file
2025-08-16 16:16:51 -04:00
Alexander Neff
3a580c7008
Update masky
2025-08-16 16:14:32 -04:00
Alexander Neff
390eda3cba
Recategorize modules
2025-08-16 15:52:29 -04:00
Alexander Neff
4b1b9b6b69
Add category filtering to module listing
2025-08-16 15:19:51 -04:00
Alexander Neff
652fc12253
Categorize modules
2025-08-16 15:10:22 -04:00
Alexander Neff
ac7446badb
Add category to modules
2025-08-16 15:07:26 -04:00
Alex
ac85127877
Merge pull request #837 from E1A/main
...
Added the lockscreendoors module
2025-08-16 21:01:10 +02:00
Alexander Neff
9bde648867
Add CATEGORY enum
2025-08-16 13:02:55 -04:00
Alexander Neff
b06316fde0
Add 'No options available' to the module and the example module
2025-08-16 09:47:03 -04:00
Alexander Neff
db665c096a
Don't skip silently, bug provide a debug log
2025-08-16 09:44:26 -04:00
Alexander Neff
da7cb78942
Formatting and remove unnecessary check
2025-08-16 09:33:13 -04:00
Alexander Neff
4546db892a
Add debug log on parsing errors
2025-08-16 09:32:51 -04:00
Alexander Neff
9ae0aecc33
Formatting
2025-08-16 09:25:10 -04:00
Alexander Neff
8bb47665e7
Formatting
2025-08-16 09:22:20 -04:00
Zak
dccc7ef5f1
Merge branch 'Pennyw0rth:main' into main
2025-08-16 15:11:02 +02:00
Z4kSec
05fa63d1be
Update Masky module to 0.2.1
2025-08-16 13:02:13 +00:00
Alexander Neff
913605ba22
Rename module to 'certipy' so it is expandable in the future
2025-08-16 08:06:12 -04:00
mpgn
be20d01990
Merge pull request #676 from Adamkadaban/rdp-exec
2025-08-16 00:43:11 +02:00
Alexander Neff
7483a15da3
Only apply arg check on rdp proto so it doesn't crash on others
2025-08-15 17:33:10 -04:00
Alexander Neff
33a82c565a
Mute unicrypto logger and set log level of asyncio to error
2025-08-15 17:29:07 -04:00
Alexander Neff
19a51f543c
Mute aardwolf logger and increase cmd-timeout to 5
2025-08-15 16:46:05 -04:00
Alexander Neff
60dea2fb19
Add error output if command failed
2025-08-15 15:18:11 -04:00
Alexander Neff
1ce655ddbf
Merge branch 'main' into rdp-exec
2025-08-15 13:23:29 -04:00
Alexander Neff
eff606d00f
Make warning more accurate
2025-08-15 13:22:55 -04:00
Alex
82b0f973f5
Merge pull request #721 from Kahvi-0/main
...
Update schtask_as.py to help bypass detection
2025-08-15 19:13:24 +02:00
Alexander Neff
4ce75c0e50
Add unique identifier to filename
2025-08-15 13:13:06 -04:00
Alexander Neff
33ecbe207a
Formatting
2025-08-15 13:02:49 -04:00
Alexander Neff
ef5c65cabb
No unecessary return values
2025-08-15 12:54:10 -04:00
Alexander Neff
30806ee975
Fix description and ensure output path has backslashes
2025-08-15 12:53:56 -04:00
Kahvi-0xFF
f99e8ccac0
Merge branch 'main' into main
2025-08-15 10:27:39 -04:00
Alexander Neff
8be0509ef1
Add description
2025-08-15 09:53:41 -04:00
Alexander Neff
dd166c86fb
Add certipy-find module
2025-08-15 09:51:11 -04:00
Alexander Neff
adc83b717e
Add Certipy dep
2025-08-15 09:49:30 -04:00
Alexander Neff
c9b0edba74
Disable certipy logger
2025-08-15 09:49:08 -04:00
mpgn
020e5a12b9
check guest not default
2025-08-14 23:21:37 +02:00
mpgn
d117df7b83
fix ruff
2025-08-14 23:19:29 +02:00
mpgn
404f17be64
add guest check on recon
2025-08-14 23:16:45 +02:00
mpgn
074824423c
add warning before running x command
2025-08-14 17:36:14 +02:00
mpgn
05d15a9750
Merge pull request #846 from fulc2um/enum_inet
...
[SMB] Added new smb module to enumerate active network interfaces over SMB
2025-08-14 16:45:28 +02:00
fulc2um
e542fd6eb1
modified test command
2025-08-14 10:43:16 -04:00
fulc2um
d9de4db59f
renamed file and module
2025-08-14 10:41:45 -04:00
fulc2um
8a4c29de0e
Merge branch 'main' into enum_inet
2025-08-14 10:06:36 -04:00
Alex
7e7d447e56
Merge pull request #855 from Pennyw0rth/typo
...
Fix typo
2025-08-14 16:04:47 +02:00
Alexander Neff
b0fd02b4ec
Fix typo
2025-08-14 09:26:40 -04:00
fulc2um
c71a8688d6
Merge branch 'main' into enum_inet
2025-08-14 08:57:23 -04:00
mpgn
9784c2c58c
Merge pull request #853 from Pennyw0rth/dc
2025-08-14 08:45:24 +02:00
Alexander Neff
b2d960c566
Update impacket
2025-08-13 17:38:55 -04:00
Alexander Neff
d2f7140eab
Remove ntds dump warning
2025-08-13 17:32:40 -04:00
mpgn
00e19a1ded
Merge branch 'main' into dc
...
Signed-off-by: mpgn <[email protected] >
2025-08-13 21:10:26 +02:00
mpgn
1a1993f7e9
update poetry lock
2025-08-13 21:05:48 +02:00
Kahvi-0xFF
84af17f78c
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 11:15:18 -04:00
Kahvi-0xFF
85c4edc780
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 11:14:34 -04:00
Kahvi-0xFF
90c206f0fe
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 00:47:20 -04:00
Kahvi-0xFF
4c8e8f0585
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 00:38:02 -04:00
Kahvi-0xFF
1aa997f43b
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 00:37:40 -04:00
Kahvi-0xFF
086fad7cb2
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 00:31:47 -04:00
Kahvi-0xFF
f1c2840957
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-13 00:30:59 -04:00
Kahvi-0xFF
51ac6d6408
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-12 17:16:05 -04:00
Kahvi-0xFF
4e380b46a1
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-12 13:00:08 -04:00
Kahvi-0xFF
edb6f90116
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-12 12:57:55 -04:00
Kahvi-0xFF
4c4f3b99b9
Merge branch 'Pennyw0rth:main' into main
2025-08-12 12:57:22 -04:00
fulc2um
6f3c5bc6bf
Merge branch 'main' into enum_inet
2025-08-12 12:46:18 -04:00
azoxlpf
a37feba363
Stop logging NXDOMAIN multiple times in DNS resolution
2025-08-12 17:52:54 +02:00
Alex
dbb05457be
Merge pull request #850 from Pennyw0rth/neff-fix-issue-template
2025-08-12 11:01:09 +02:00
Alexander Neff
8f10f9ede6
Fixing the bug report issue template, currently not present on github
2025-08-11 19:45:11 -04:00
fulc2um
d1ed5073d7
Merge branch 'main' into enum_inet
2025-08-11 09:26:02 -04:00
Alex
8edaf13af1
Merge pull request #847 from A3-N/feat/mssql-database-table-list
...
Add --database option to MSSQL protocol
2025-08-11 14:59:12 +02:00
Alexander Neff
30cf67159e
Remove mutually exclusive group and multichar-singledash option
2025-08-11 08:52:29 -04:00
Adriaan Bosch
006ad7c6d8
mssql: add -db short option for --database
...
Signed-off-by: Adriaan Bosch <[email protected] >
2025-08-11 09:23:55 +02:00
fulc2um
3d8be59ee5
edited comment
2025-08-10 17:52:26 -04:00
Alexander Neff
18ba7dba6e
Revert metavar for query
2025-08-10 11:54:13 -04:00
Alex
1477b49450
Merge branch 'main' into feat/mssql-database-table-list
2025-08-10 17:49:22 +02:00
fulc2um
ee75c4316a
Merge branch 'main' into enum_inet
2025-08-10 09:36:21 -04:00
Alex
cb0f1259f5
Merge pull request #833 from gatariee/feat-lsassy
...
added `DUMP_TICKETS` flag to lsassy module
2025-08-10 14:37:59 +02:00
Alexander Neff
051bc34f41
Add defaults and linting
2025-08-10 08:18:10 -04:00
Alex
0e9d3e5c9b
Merge branch 'main' into feat-lsassy
2025-08-10 14:17:01 +02:00
adriaan.bosch
6402ac16a5
fix: remove _exec wrapper, run ruff fixes
2025-08-10 13:01:36 +02:00
fulc2um
abe3dfc054
Restored removed import of rrp
2025-08-09 18:15:20 -04:00
fulc2um
e46a962671
Switched --interfaces to execute using FSCTL_QUERY_NETWORK_INTERFACE_INFO and enum_inet (requires admin) to remote registry
2025-08-09 18:10:51 -04:00
adriaan.bosch
e8f8d7e90e
mssql: add --database flag to list databases or tables in a named DB
2025-08-09 17:05:34 +02:00
gatari
a742bce516
changed some defaults
2025-08-09 06:43:17 -04:00
tiagomanunes
c2731fb985
Merge branch 'main' into module-usercredman
2025-08-09 09:53:29 +01:00
fulc2um
0db3d64d59
Merge branch 'main' into enum_inet
2025-08-08 16:19:45 -04:00
Alexander Neff
486f47a6b7
Linting
2025-08-07 14:44:20 -04:00
Alex
e3520135a5
Merge branch 'main' into rdp-exec
2025-08-07 20:18:21 +02:00
Alex
83b71487cf
Merge pull request #824 from MaxToffy/reg-sessions
...
Add --reg-sessions option to SMB protocol
2025-08-07 18:24:41 +02:00
fulc2um
782f476e33
Added new module to enumerate active network interfaces over SMB
2025-08-06 14:01:41 -04:00
Kahvi-0xFF
daa37dd9f6
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 10:06:29 -04:00
Kahvi-0xFF
bc593ecb4c
Fresh atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 10:04:09 -04:00
Kahvi-0xFF
7f037d79bd
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 10:03:35 -04:00
Kahvi-0xFF
5a226988cb
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 10:02:57 -04:00
Kahvi-0xFF
1440a6bf1e
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 10:01:32 -04:00
Kahvi-0xFF
ca9847cf61
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 09:59:28 -04:00
Kahvi-0xFF
df087a7444
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 09:58:45 -04:00
Kahvi-0xFF
5514bfe05c
fresh schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-06 09:47:59 -04:00
tiagomanunes
d3832931b8
Merge branch 'main' into module-usercredman
2025-08-06 09:10:00 +01:00
E1A
ed4f6f4858
Merge branch 'main' of github.com:E1A/NetExec
2025-08-06 09:52:48 +02:00
E1A
a44fa60223
format expected descriptions as plain string in output
2025-08-06 09:52:40 +02:00
E1A
5a5a5b5756
Merge branch 'main' into main
2025-08-06 09:41:50 +02:00
E1A
a5fa60b62a
Fixed support for Win server 2008 and multiple descriptions
2025-08-06 09:40:43 +02:00
Kahvi-0xFF
a754149025
Merge branch 'main' into main
2025-08-06 00:35:11 -04:00
Alex
84d8f108c9
Merge pull request #845 from Pennyw0rth/neff-revert-#729
...
Revert "Merge pull request #729 from haytechy/refactor_SMBSpider"
2025-08-05 22:38:25 +02:00
Alexander Neff
74e49abf28
Revert "Merge pull request #729 from haytechy/refactor_SMBSpider"
...
This reverts commit 4137704a06 , reversing
changes made to e11898b182 .
2025-08-05 16:25:22 -04:00
Kahvi-0xFF
b8ce69480d
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-05 15:06:29 -04:00
Kahvi-0xFF
e663fb83d8
Merge branch 'main' into main
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-05 15:04:57 -04:00
Alex
e7799212b5
Merge pull request #844 from Pennyw0rth/neff-fix-dpapi
...
Fix dpapi
2025-08-05 20:32:59 +02:00
Alexander Neff
65be28dc19
Readd no_da var to fix dpapi with local admin
2025-08-05 14:18:29 -04:00
Alex
49d04493e3
Merge pull request #841 from x-ticker/patch-1
...
Fixed typo in smb.py
2025-08-05 15:51:51 +02:00
ticker
6debc5fb49
Typo in smb print_host_info
...
It was printing "domin" instead of "domain"
Signed-off-by: ticker <[email protected] >
2025-08-04 21:20:14 -04:00
Kahvi-0xFF
4ae11640c3
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-04 14:37:21 -04:00
Kahvi-0xFF
24ac21d513
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-04 14:23:32 -04:00
Kahvi-0xFF
aa8ee61a7b
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-04 14:23:04 -04:00
Kahvi-0xFF
ecd54323bf
Update atexec.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-04 14:18:29 -04:00
Kahvi-0xFF
c8de6fe76f
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-08-04 14:17:18 -04:00
Alex
24dc0879b9
Merge branch 'main' into module-usercredman
2025-08-04 18:42:41 +02:00
Alex
3c8bb13117
Merge pull request #838 from Pennyw0rth/neff-linting
...
Add 'Warning' rule to linting
2025-08-04 18:32:53 +02:00
E1A
5a53fcab93
Merge branch 'main' of github.com:E1A/NetExec
2025-08-04 16:23:11 +02:00
E1A
d1d0864002
Added and removed lock screen executables
...
Changed context.log.fail to context.log.highlight when if tampered = true
2025-08-04 16:23:02 +02:00
Alexander Neff
8ec8830e81
Linting
2025-08-04 09:40:55 -04:00
Alex
03dfe7f23c
Merge branch 'main' into neff-linting
2025-08-04 14:54:34 +02:00
tiagomanunes
c90270e25d
Merge branch 'main' into module-usercredman
2025-08-04 13:28:32 +01:00
Xed
cb6891b787
Merge branch 'main' into drop_library_ms
2025-08-04 11:36:49 +02:00
E1A
3a0f1c90e5
Merge branch 'main' into main
2025-08-04 09:57:38 +02:00
E1A
324dc0ccdd
Fixed issues for PR
2025-08-04 09:57:04 +02:00
Alex
8ca5874260
Merge pull request #818 from Dfte/schtask_refactor
...
Rework atexec and -M schtask_as to rely on a single TSCH_EXEC class
2025-08-03 17:12:41 +02:00
Alexander Neff
172bddbb4c
Autofix ruff whitepsaces
2025-08-02 12:39:44 -04:00
Alexander Neff
bb788a484e
Autofix ruff whitepsaces
2025-08-02 12:37:45 -04:00
E1A
ac0e0c4a29
Merge branch 'main' of github.com:E1A/NetExec
2025-08-02 18:31:03 +02:00
E1A
c67d43310c
Added lockscreendoors
2025-08-02 18:30:56 +02:00
Alexander Neff
21f6031129
Add 'Warning' rule
2025-08-02 12:30:47 -04:00
Alexander Neff
70922c5b85
Group session enumeration args
2025-08-02 12:23:24 -04:00
E1A
de03b9b163
Merge branch 'Pennyw0rth:main' into main
2025-08-02 18:08:08 +02:00
E1A
5f23eadc3a
ruff changes
2025-08-02 18:07:53 +02:00
Alex
97838b466c
Merge pull request #832 from tiagomanunes/improve-daclread-targetdn-from-file
...
Improve daclread: also allow passing a file for TARGET_DN, and refactor
2025-08-02 18:04:45 +02:00
Alexander Neff
eb33458e46
For unexpected errors inform user and make exception handling more specific
2025-08-02 12:02:34 -04:00
E1A
1f96460b01
Merge branch 'main' of github.com:E1A/NetExec
2025-08-02 17:55:10 +02:00
E1A
60c3afd20d
added credits
2025-08-02 17:53:52 +02:00
Alexander Neff
6c07fa8641
Convert while loop to for loop
2025-08-02 11:53:30 -04:00
E1A
3ca1987d6b
Merge branch 'Pennyw0rth:main' into main
2025-08-02 17:51:48 +02:00
E1A
b792021223
Added the lockscreendoors module
2025-08-02 17:51:23 +02:00
Alexander Neff
34e7d9f0ce
Linting
2025-08-02 11:48:34 -04:00
Alexander Neff
2124866551
Fix python escaping Syntax warning
2025-08-02 11:42:21 -04:00
Alexander Neff
e2c1e820c7
Reduce code lines
2025-08-02 11:41:45 -04:00
Alex
b1faef4cfa
Merge pull request #836 from Pennyw0rth/neff-add-null-auth
...
Add null-auth info to host banner
2025-08-02 17:31:08 +02:00
Alexander Neff
4522f00d6e
Add comment
2025-08-02 11:24:23 -04:00
Alexander Neff
e1c5271f43
Remove unused imports
2025-08-02 10:18:59 -04:00
Alexander Neff
da54a7f5b3
Add comments and small formatting
2025-08-02 10:18:42 -04:00
Alexander Neff
cc268f0e0a
Remove unused lines
2025-08-02 10:18:29 -04:00
Alexander Neff
49e80169fd
Add null-auth info to host banner
2025-08-02 08:26:13 -04:00
tiagomanunes
9a16a4fce4
Merge branch 'main' into improve-daclread-targetdn-from-file
2025-08-02 10:18:48 +01:00
tiagomanunes
68b2fe04a3
Merge branch 'main' into module-usercredman
2025-08-02 10:16:43 +01:00
MaxToffy
61f6ee1074
Less verbose output and fix formating
2025-08-01 16:17:59 +02:00
gatari
65fe159168
added newline for ruff compliance
...
Signed-off-by: gatari <[email protected] >
2025-08-01 21:38:13 +08:00
Marshall Hallenbeck
4137704a06
Merge pull request #729 from haytechy/refactor_SMBSpider
...
Refactor smb spider
2025-07-31 16:33:39 -04:00
Marshall Hallenbeck
4104caa5e8
Merge branch 'main' into refactor_SMBSpider
2025-07-31 16:25:25 -04:00
Marshall Hallenbeck
e11898b182
Merge pull request #835 from Pennyw0rth/marshall-add-awesome-contributors
...
docs(contributors): add termanix and dfte to awesome contributors
2025-07-31 14:43:46 -04:00
Marshall Hallenbeck
f4c199e1cc
docs(contributors): add termanix and dfte to awesome contributors
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2025-07-31 14:22:13 -04:00
Tiago Nunes
ba0c461aa2
Minor ruff
2025-07-31 16:12:13 +02:00
Tiago Nunes
db68c1303b
Clean up module option assignment and defaults
2025-07-31 16:07:16 +02:00
Tiago Nunes
8d432a5074
Small fixes: use format strings and built-in open(), lint unused variables
2025-07-31 15:57:43 +02:00
gatari
25e9586ace
added documentation for options
2025-07-31 07:41:25 -04:00
gatari
5566578daf
added support for dumping kerberos tickets
2025-07-31 07:32:09 -04:00
Mickey De Baets
49c89dbca6
Merge branch 'main' into main
2025-07-30 14:02:14 +02:00
Tiago Nunes
3d3b41de62
Use self.context consistently
2025-07-30 12:55:39 +02:00
Tiago Nunes
dce281dfba
More instance variables turned into local variables, and passed down the stack
2025-07-30 12:50:22 +02:00
Tiago Nunes
4d96ee6d52
Continue parsing targets if any are not found, instead of stopping
2025-07-30 12:44:24 +02:00
Tiago Nunes
78d691be12
Turn backup filename into local variable
2025-07-30 12:38:56 +02:00
Tiago Nunes
02dbcbdc5d
Also allow passing a file for TARGET_DN. Refactor to reduce duplication and complexity.
2025-07-30 11:59:08 +02:00
Alex
d0827bb78c
Merge branch 'Pennyw0rth:main' into refactor_SMBSpider
2025-07-29 21:02:55 +01:00
tiagomanunes
a53faf3c6a
Merge branch 'main' into module-usercredman
2025-07-29 11:30:19 +01:00
theuser
904769658d
Add tests for ntds-dump-raw module
2025-07-28 17:28:44 +04:00
theuser
d0f23b9dda
Fix cannot import name 'delete_workspace' from 'nxc.nxcdb' error
2025-07-28 17:28:27 +04:00
Alex
714c44bac8
Merge pull request #828 from 0xb11a1/add-lsa-ntds-dump-raw
...
Add TARGET option to ntds-dump-raw to dump LSA/SAM hashes
2025-07-28 13:15:45 +02:00
Alexander Neff
fedca6bcfb
Remove unnecessary function and formatting
2025-07-28 07:13:00 -04:00
gatari
f2361e27d6
changed --store-st to --generate-st
2025-07-28 05:47:06 -04:00
gatari
57a06d0612
added --delegate-spn flag
2025-07-28 05:38:30 -04:00
tiagomanunes
31ec2eeffc
Merge branch 'main' into module-usercredman
2025-07-27 13:27:46 +01:00
theuser
1d9b50210f
Add TARGET option to ntds-dump-raw to dump LSA/SAM hashes
2025-07-26 19:21:27 +04:00
gatari
96e4a306b7
sname bug fix
2025-07-25 05:30:22 -04:00
gatari
8ce7e2fe2a
added --store-st flag
2025-07-25 05:30:04 -04:00
MaxToffy
8b78206f72
ruff formating
2025-07-25 11:08:16 +02:00
MaxToffy
ab255aa9f4
Fix formating after user filtering
2025-07-25 11:03:35 +02:00
MaxToffy
3648ac579d
Add --reg-sessions option for SMB
2025-07-25 10:24:01 +02:00
Alex
a8183f8851
Merge pull request #821 from Pennyw0rth/neff-add-wmi-ntds-dump-raw
...
Add WMI to ntds_dump_raw module
2025-07-24 15:34:41 +02:00
Alex
2befb3a99f
Merge branch 'main' into neff-add-wmi-ntds-dump-raw
2025-07-24 15:26:53 +02:00
Alex
19a54d5aba
Merge pull request #820 from Pennyw0rth/neff-fix-wmi
...
Refactor WMI protocol execution
2025-07-24 15:25:22 +02:00
Alexander Neff
65d3723e7b
Remove string from testing, also increase characters for registry path
2025-07-24 09:21:39 -04:00
Alexander Neff
9ebac0f5df
Enable dump for wmi with powershell execution
2025-07-24 08:56:23 -04:00
tiagomanunes
09fd370ecf
Merge branch 'main' into module-usercredman
2025-07-24 08:51:39 +01:00
Alexander Neff
b717f30629
Bug fixes for when the command already starts with 'powershell ...'
2025-07-23 18:38:24 -04:00
Alexander Neff
af822e597a
Add -X for powershell execution
2025-07-23 18:05:22 -04:00
Alexander Neff
cb3564117d
Add powershell command execution method instead of using powershell in normal exec
2025-07-23 15:34:04 -04:00
Alexander Neff
64aa7c05ab
Remove print statement
2025-07-23 09:41:59 -04:00
Alexander Neff
917dcb505e
Clean up after retrieving files and dynamically try 10s to get the output in case stuff takes time
2025-07-23 09:30:31 -04:00
Alexander Neff
bab59de4bf
Optimize execution speed
2025-07-23 08:56:39 -04:00
Alexander Neff
e192f3cbb8
Split result output into 16KB chunks because that is the max value for registry keys
2025-07-23 07:53:15 -04:00
Aurélien CHALOT
5933a08f33
Remove print
2025-07-23 13:32:54 +02:00
Aurélien CHALOT
897fe67d72
Rework atexec and -M schtask_as to rely on a single TSCH_EXEC class
2025-07-23 13:30:23 +02:00
Alexander Neff
188ef13c87
Encode to b64 with powershell and not certutil
2025-07-23 06:15:01 -04:00
Alex
a4d54d1673
Merge pull request #468 from 0xb11a1/raw-ntds-copy
...
Add raw-ntds-copy module
2025-07-22 18:26:43 +02:00
Alex
7328c08182
Merge pull request #805 from termanix/patch-2
...
Update LDAP find-computer Module
2025-07-21 17:02:23 +02:00
Alexander Neff
36573e393e
Linting
2025-07-21 10:57:15 -04:00
Alexander Neff
86b74efd43
Improve module description
2025-07-21 10:52:24 -04:00
termanix
3a90c7f555
Merge branch 'main' into patch-1
2025-07-21 17:40:33 +03:00
termanix
253d8ab93b
removed exception handling
...
Signed-off-by: termanix <[email protected] >
2025-07-21 17:38:18 +03:00
tiagomanunes
e60b47f88c
Merge branch 'main' into module-usercredman
2025-07-21 12:20:36 +01:00
Alex
776b84af85
Merge pull request #812 from Pennyw0rth/neff-fix-wmi
...
Fix command execution in wmi
2025-07-21 11:11:21 +02:00
Alex
ed7db99fab
Merge pull request #813 from termanix/terman-fix
...
Fix NFS Network Value
2025-07-21 09:58:22 +02:00
termanix
96a8ed2d02
fix group_names if returns empty
2025-07-21 03:36:24 -04:00
Alex
4e8d65093b
Merge pull request #811 from Pennyw0rth/neff-fix-daclread
...
Add ldap parsing to daclread
2025-07-20 20:05:17 +02:00
Alexander Neff
ffa46360a7
Execute each command seperatly so files are still deleted when previous commands fail
2025-07-20 14:04:52 -04:00
Alexander Neff
50edae4df1
Fix command execution in modules with output but no line printing
2025-07-20 14:02:34 -04:00
Alexander Neff
37de88547e
Linting
2025-07-20 14:01:14 -04:00
Alexander Neff
8892b6a5d8
Fix winrm execution
2025-07-20 13:58:35 -04:00
Alexander Neff
985a9880e0
Remove unused function
2025-07-20 08:22:35 -04:00
Alexander Neff
477940e6ff
Add ldap parsing to user info function
2025-07-20 08:21:25 -04:00
Alexander Neff
644298ecce
Add ldap parsing to sid resolv function
2025-07-20 08:16:05 -04:00
Alexander Neff
e4095ce851
Replace manual parsing with ldap parser and remove duplicate code
2025-07-20 08:08:04 -04:00
Alexander Neff
bdfd869c94
Add searchControls to search function
2025-07-20 08:05:10 -04:00
Alexander Neff
8cb93db83c
Fix file as target
2025-07-20 08:04:56 -04:00
Alexander Neff
c43a64c03f
Rename module from raw-ntds-copy to ntds-dump-raw
2025-07-20 07:35:54 -04:00
Alexander Neff
aa8b1fd97b
Add debug logging for exceptions
2025-07-20 07:30:03 -04:00
Alexander Neff
788ba90b97
Move powershell script to file instead of b64 inline
2025-07-19 12:57:43 -04:00
Alexander Neff
f7fa1fa1b4
Formatting
2025-07-19 08:24:15 -04:00
Alex
0b5aebd402
Merge branch 'main' into raw-ntds-copy
2025-07-19 14:06:14 +02:00
Alex
858d211417
Merge pull request #800 from Geetub/slinky_set_lnk_target
...
Slinky set lnk target
2025-07-19 13:24:59 +02:00
Geetub
d6fcee6c80
Merge branch 'main' into slinky_set_lnk_target
2025-07-19 13:00:49 +03:00
theuser
aa7f6d07b8
Merge branch 'raw-ntds-copy' of github.com:0xb11a1/NetExec into raw-ntds-copy
2025-07-19 13:50:41 +04:00
theuser
2bff24a3ff
Code cleanup, remove unnecessary debug information and add comments
2025-07-19 13:42:23 +04:00
termanix
f1d39a6e8a
DNS resolver change to with connection object
2025-07-18 10:53:21 -04:00
termanix
a0fb0f4cca
Merge branch 'main' into patch-2
2025-07-18 17:50:01 +03:00
tiagomanunes
d063f53b1e
Merge branch 'main' into module-usercredman
2025-07-18 09:35:30 +01:00
Tiago Nunes
e65303aad6
Ignore dump_method flag
2025-07-18 08:19:43 +02:00
Alex
e99e5c244c
Merge pull request #808 from Pennyw0rth/neff-fix-veeam
...
Fix veeam script if there is no salt reg key
2025-07-17 18:21:12 +02:00
Alexander Neff
44624b703c
Fix veeam script if there is no salt reg key
2025-07-17 11:43:46 -04:00
Tiago Nunes
6140b3ffdd
Bring back the credits
2025-07-17 13:16:37 +02:00
Mickey De Baets
edc399736f
Merge branch 'main' into main
...
Signed-off-by: Mickey De Baets <[email protected] >
2025-07-17 12:48:37 +02:00
Tiago Nunes
9614685d2d
Move functionality from module into winrm protocol
2025-07-17 12:42:49 +02:00
tiagomanunes
2b7d8abbbe
Merge branch 'main' into module-usercredman
2025-07-17 10:55:37 +01:00
mpgn
da949f1875
Merge pull request #804 from Pennyw0rth/hosts
...
Removing the horrible multiple hosts option
2025-07-17 00:15:58 +02:00
mpgn
95cd4f3383
Merge pull request #798 from Pennyw0rth/pso
...
Switch pso module to core feature
2025-07-17 00:15:41 +02:00
azoxlpf
baa735192a
add to the e2e tests
2025-07-16 21:53:23 +02:00
termanix
e3f7168858
IP resolver change to with DNS query
2025-07-16 12:41:13 -04:00
mpgn
e70aaa54c4
fix ruff
2025-07-16 17:36:00 +02:00
Alex
8d53bb5873
Merge pull request #803 from Pennyw0rth/neff-fix-get-network
...
Refactor get-network and fix encoding
2025-07-16 17:29:52 +02:00
Alexander Neff
753a773043
Remove undocumented option and unique IPs if only IPs are returned
2025-07-16 11:13:00 -04:00
Alexander Neff
a565676ea5
Remove check for Record type 'A' which would filter all other
2025-07-16 11:02:19 -04:00
Alexander Neff
6515b0da1a
Remove unused functions and imports
2025-07-16 10:44:14 -04:00
Alexander Neff
a44389c17b
Add correct ldap parsing
2025-07-16 10:42:38 -04:00
mpgn
4dd479a956
remove blank line
2025-07-16 16:25:49 +02:00
mpgn
95e7cdfc9f
remove the horrible multiple hosts option
2025-07-16 16:22:04 +02:00
Geetub
0565e4e176
Use ico extension as target
...
Signed-off-by: Geetub <[email protected] >
2025-07-16 12:51:23 +03:00
Geetub
b974d3d67c
Use .exe as target
...
Use .exe as target, since it triggers an SMB query also on Windows Explorer "Details view".
Signed-off-by: Geetub <[email protected] >
2025-07-16 12:08:54 +03:00
mpgn
217adf3a8f
add clipboard delay
2025-07-16 09:40:30 +02:00
mpgn
2d0bd8e443
add parsed
2025-07-16 09:33:48 +02:00
mpgn
c174e87237
fix search
2025-07-15 23:50:39 +02:00
Geetub
d5e6e6d6f3
Use pylnk3.for_file() to set LNK target.
...
Signed-off-by: Geetub <[email protected] >
2025-07-16 00:14:27 +03:00
mpgn
ea525f987f
readd missing function
2025-07-15 18:34:13 +02:00
mpgn
6bf9b8acb3
fix ruff
2025-07-15 18:30:08 +02:00
mpgn
9c68f76b73
update test
2025-07-15 18:28:08 +02:00
mpgn
0c967f2b95
fix ruff
2025-07-15 18:27:11 +02:00
mpgn
f32dd56fb3
switch pso module to core feature
2025-07-15 18:22:30 +02:00
mpgn
11d484b268
Merge pull request #788 from Pennyw0rth/opsec
2025-07-15 12:03:18 +02:00
Alex
5c2afa9623
Merge branch 'main' into raw-ntds-copy
2025-07-15 00:21:19 +02:00
Alex
8f973b1000
Merge pull request #764 from Pennyw0rth/neff-add-entra-id-sync-extractor
2025-07-14 16:47:34 +02:00
Marshall Hallenbeck
4b37669bda
Merge pull request #794 from Pennyw0rth/Marshall-Hallenbeck-update-pr-template
...
docs: add deprecation change type and clarify e2e tests checklist
2025-07-14 09:18:15 -04:00
Alexander Neff
b2503951ab
Remove opsec flags of new modules
2025-07-14 08:18:40 -04:00
Alex
46f6dada23
Merge branch 'main' into opsec
2025-07-14 14:17:25 +02:00
Alexander Neff
f2cef11e04
Add new ps1 script for extraction
2025-07-14 08:04:48 -04:00
Alexander Neff
0a8ada49f8
Replace msol module with the new entra-id module
2025-07-14 08:04:25 -04:00
Alex
266c6714aa
Merge pull request #556 from crosscutsaw/dump-computers
...
new module: ldap > dump-computers
2025-07-14 13:53:18 +02:00
Alexander Neff
e259128ead
Linting
2025-07-14 07:50:46 -04:00
Alexander Neff
0eb65ed347
Add e2e test
2025-07-14 07:49:02 -04:00
Alexander Neff
239cc80516
As there have to be computers in a domain (at least the DC) don't check if there are anwsers
2025-07-14 07:48:28 -04:00
Alexander Neff
234b41efa5
Simplify logic
2025-07-14 07:45:02 -04:00
Alexander Neff
8b3bc6b89a
Fix description
2025-07-14 07:40:57 -04:00
Alex
3a7b04f83f
Merge branch 'main' into dump-computers
2025-07-14 13:39:18 +02:00
crosscutsaw
16a65d4c26
Update dump-computers.py
...
Signed-off-by: crosscutsaw <[email protected] >
2025-07-14 12:59:07 +03:00
Tiago Nunes
3f1d663121
Add winrm modules to e2e tests
2025-07-14 10:35:59 +02:00
tiagomanunes
32e8603411
Merge branch 'main' into module-usercredman
2025-07-14 09:28:49 +01:00
Marshall Hallenbeck
c465d67806
Merge branch 'main' into Marshall-Hallenbeck-update-pr-template
2025-07-13 19:39:46 -04:00
Marshall Hallenbeck
9566b0d31e
Merge pull request #795 from Pennyw0rth/Marshall-please-update-your-version
...
add huge disclaimer to issue template
2025-07-13 19:37:57 -04:00
Fabrizzio53
664055c7c3
Update e2e_commands.txt
...
Signed-off-by: Fabrizzio53 <[email protected] >
2025-07-13 20:17:12 -03:00
Fabrizzio53
ac55e28fee
update tombstone.py to fix when ntlm is disabled
...
When netexec impacket gets merged with the most up to date version from fortra this fix will work when a domain disabled ntlm
Signed-off-by: Fabrizzio53 <[email protected] >
2025-07-13 20:16:14 -03:00
Fabrizzio53
74c2cd0c89
Renamed gravedigger.py to tombstone.py and changed the name at the script
...
Signed-off-by: Fabrizzio53 <[email protected] >
2025-07-13 20:16:14 -03:00
Fabrizzio53
5b1cacf566
Create gravedigger.py
...
Signed-off-by: Fabrizzio53 <[email protected] >
2025-07-13 20:16:14 -03:00
Marshall Hallenbeck
9d6939a7b1
try to get peoples attention even more
...
idea of @NeffIsBack
Signed-off-by: Marshall Hallenbeck <[email protected] >
2025-07-13 19:04:42 -04:00
Alex
b2aac4e5af
Merge pull request #701 from fpreynaud/wcc_llmnr
...
[WCC] Improve NBTNS check and add LLMNR check
2025-07-14 00:43:52 +02:00
mpgn
472be5aa36
add more verbosity
2025-07-13 23:45:49 +02:00
mpgn
92206c8143
fix output check
2025-07-13 23:41:47 +02:00
Marshall Hallenbeck
2522ee19df
add huge disclaimer to issue template
...
users continuously post issues that have already been resolved, I hope this massive disclaimer will cut down on that
Signed-off-by: Marshall Hallenbeck <[email protected] >
2025-07-13 17:24:33 -04:00
Marshall Hallenbeck
9ad951c781
Merge branch 'main' into opsec
2025-07-13 16:14:51 -04:00
Marshall Hallenbeck
22712d6b36
docs: clarify how to fill in checklists
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2025-07-13 16:06:11 -04:00
Marshall Hallenbeck
a57d1db4f4
docs: add deprecation change type and clarify e2e tests checklist
...
If we deprecate something, we should have a type of change checkbox (not every deprecation is breaking)
People are adding features and modules without adding them to the e2e tests
Signed-off-by: Marshall Hallenbeck <[email protected] >
2025-07-13 16:00:08 -04:00
Alex
97049a06bd
Merge pull request #789 from azoxlpf/fix/get-sid-kcache
...
fix(ldap): support get-sid and admin flag when using --use-kcache
2025-07-13 21:12:11 +02:00
theuser
e51aa58475
Move raw-ntds-copy to a module
2025-07-13 14:26:11 +04:00
azoxlpf
d9197c6e9f
add raisechild.py
2025-07-12 22:54:09 +02:00
azoxlpf
70463e54a6
fix(ldap): support get-sid and admin flag when using --use-kcache
2025-07-12 21:38:36 +02:00
Alex
68e36dc8ed
Merge pull request #769 from sepauli/add-info-field
...
Add get-info-users module
2025-07-10 23:49:15 +02:00
Alexander Neff
5dd82ffe2d
Apply formatting for better readability
2025-07-10 17:45:53 -04:00
Alexander Neff
443a87bf95
Simplify logic
2025-07-10 17:43:23 -04:00
Alexander Neff
b9827e5b65
Formatting, remove unused imports and small code improvements
2025-07-10 17:33:53 -04:00
Alex
fc71ef81ad
Merge pull request #783 from Dfte/qwinsta_grep
...
Allows --qwinsta to filter for a specific user
2025-07-10 23:07:08 +02:00
Alexander Neff
b7d8eeb2bc
Merge branch 'main' into qwinsta_grep
2025-07-10 17:04:52 -04:00
Alexander Neff
6796ffaf63
Set empty string as default not boolean
2025-07-10 17:01:46 -04:00
Alexander Neff
d60f5b8fad
Add comments
2025-07-10 17:00:45 -04:00
Alexander Neff
7f294ae65a
Remove already imported os
2025-07-10 15:52:14 -04:00
Alexander Neff
7b6ca4e9dc
Fix format string in template
2025-07-10 15:51:38 -04:00
tiagomanunes
718a38d639
Merge branch 'main' into module-usercredman
2025-07-10 19:43:51 +01:00
Alex
7ab386f55d
Merge pull request #787 from Dfte/fix_shares_filter
...
Patches the --filter-shares so that it correctly finds READ,WRITE perm
2025-07-10 01:40:06 +02:00
Alexander Neff
67d8e9ec6c
Remove const otherwise the default filter is READ,WRITE
2025-07-09 19:36:06 -04:00
mpgn
1d80c40d05
Merge pull request #784 from azoxlpf/fix/kerberos-ridbrute-spn
...
setRemoteName to avoid Kerberos SPN resolution error in rid_brute
2025-07-08 00:10:02 +02:00
mpgn
aa17bbc32a
fix test
2025-07-08 00:04:28 +02:00
mpgn
0f62ca59cd
better catch and add no output option
2025-07-07 23:05:04 +02:00
mpgn
f17f091d6b
use clipboard to get the result of the command
2025-07-07 20:28:13 +02:00
azoxlpf
3c521b750e
Fix indentation
2025-07-07 12:53:03 +02:00
azoxlpf
45760c1031
Fix
2025-07-07 12:50:41 +02:00
Aurélien CHALOT
adbf4f5926
Remove useless blank line
2025-07-07 12:21:38 +02:00
Aurélien CHALOT
3cdc648073
Remove log.fail messages
2025-07-07 12:20:29 +02:00
Aurélien CHALOT
9049e58252
Remove log.fail messages
2025-07-07 12:01:42 +02:00
FaganAfandiyev
8459d608c8
Remove [HISTORY] in output and add e2e tests
2025-07-07 05:52:55 -04:00
mpgn
246e7e5d27
remove the horrible opsec flag
2025-07-07 11:26:06 +02:00
mpgn
aa6e504aa5
remove the horrible opsec flag
2025-07-07 11:22:25 +02:00
Aurélien CHALOT
3549ce5e76
Lower permission checks, merge both options into --shares and add deprecation warning
2025-07-07 10:41:30 +02:00
Alex
638c10145a
Merge pull request #782 from Dfte/tasklist_grep
...
Add process filtering in --tasklist
2025-07-06 21:31:52 +02:00
Aurélien CHALOT
e6ce6da442
Patches the --filter-shares so that it correctly finds READ,WRITE perm
2025-07-06 20:27:16 +02:00
azoxlpf
ec66078bc2
setRemoteName to avoid Kerberos SPN resolution error in rid_brute
2025-07-06 19:34:44 +02:00
Sebastian Pauli
db93f5b026
add change requests
...
Signed-off-by: Sebastian Pauli <[email protected] >
2025-07-05 19:05:24 +02:00
Alexander Neff
bfcc73541f
Merge branch 'main' into tasklist-filter
2025-07-05 12:06:43 -04:00
Alex
dc239dad22
Merge pull request #779 from Dfte/add_taskkill
...
Add the taskkill option
2025-07-05 18:05:04 +02:00
Alexander Neff
c1dfefd2a1
Use build in exception traceback instead of traceback.format_exc
2025-07-05 10:50:25 -04:00
Alexander Neff
1865d420cf
Allow grep like searching
2025-07-05 10:35:25 -04:00
Alexander Neff
2505be41ee
Remove spaces
2025-07-05 10:26:05 -04:00
Alexander Neff
8cd6447ca1
Use format strings
2025-07-05 10:25:51 -04:00
Aurélien CHALOT
1c262fe6ff
Update so that it supports passing a file with usernames
2025-07-05 14:56:58 +02:00
Aurélien CHALOT
2febbf654c
Updates qwinsta
2025-07-05 10:21:48 +02:00
Aurélien CHALOT
b01d410fd6
Updates tasklist
2025-07-05 10:00:39 +02:00
Alex
991f871b49
Merge pull request #777 from Dfte/patch_qwinsta_tasklist
...
Patch --qwinsta --tasklist stack trace
2025-07-04 22:03:14 +02:00
Aurélien CHALOT
ed4e4a1e3e
Add the taskkill option
2025-07-04 18:30:33 +02:00
Aurélien CHALOT
9e8ae0364d
Patch --qwinsta --tasklist stack trace
2025-07-04 15:32:01 +02:00
Alex
bbca423a1e
Merge pull request #763 from Pennyw0rth/neff-add-entry-id-finder
...
Add module to find the entra-id sync server
2025-07-03 18:56:05 +02:00
Alex
f9358078cd
Merge pull request #774 from Powett/patch-1
...
Update bitlocker.py - Corrected BitLocker EncryptionMethods
2025-07-03 18:30:32 +02:00
Alex
70e3fc8a81
Merge pull request #775 from Pennyw0rth/neff-patch-1
...
State that using a BINARY for schtask_as is optional
2025-07-03 18:14:52 +02:00
Alexander Neff
ac15a720d4
State that using a BINARY for schtask_as is optional
2025-07-03 12:10:25 -04:00
Alex
1b620c0d16
Merge pull request #735 from kaisersource/patch-1
...
Image size improvements and pinned Netexec version
2025-07-03 17:41:13 +02:00
Alexander Neff
20d6e319dc
Add info log message to get the raw info of the found entra id related accounts
2025-07-03 11:38:40 -04:00
Powett
fdb5608fed
Update bitlocker.py - Corrected BitLocker EncryptionMethods
...
According to https://learn.microsoft.com/en-us/windows/win32/secprov/win32-encryptablevolume , the correct mapping is as follows.
Signed-off-by: Powett <[email protected] >
2025-07-03 16:37:36 +02:00
mpgn
b0263cb93b
Merge pull request #773 from azoxlpf/fix/smb-error-coloring
...
fix: color SMB STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT as magenta
2025-07-02 22:39:16 +02:00
azoxlpf
01c2bd5508
fix: color SMB STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT as magenta
2025-07-02 22:20:30 +02:00
Alex
3bccec9839
Merge pull request #772 from Pennyw0rth/neff-fix-pre2k
...
Only display success message if accounts found
2025-07-02 21:40:33 +02:00
Alexander Neff
67e21e177e
Only display success message if accounts found
2025-07-02 15:14:29 -04:00
Mickey De Baets
25600ad5df
Merge branch 'main' into main
2025-07-02 13:34:13 +02:00
Sebastian Pauli
1a4ea1eb37
fix poetry checks
...
Signed-off-by: Sebastian Pauli <[email protected] >
2025-07-01 19:26:27 +02:00
Sebastian Pauli
39e8e6e264
create get-info-users
...
Signed-off-by: Sebastian Pauli <[email protected] >
2025-07-01 18:53:32 +02:00
Tiago Nunes
952e2cfadd
First release candidate of usercredman module for winrm
2025-07-01 14:25:51 +02:00
Alex
c1b04216d1
Merge pull request #767 from tiagomanunes/bugfix-winrm-ps_execute
2025-07-01 10:24:33 +02:00
Alex
e4754628d1
Merge pull request #766 from v3gahax/main
2025-07-01 10:22:43 +02:00
Tiago Nunes
8db4ba446a
Fix winrm's ps_execute() to return output
2025-07-01 09:00:22 +02:00
v3ga
3db348e262
Update wcc.py
...
Corrected typos in wcc.py
Signed-off-by: v3ga <[email protected] >
2025-06-30 19:09:13 -07:00
Alexander Neff
915faa2564
Add disclaimer, that the Entra ID sync service is probably not installed on the target
2025-06-30 06:31:03 -04:00
Alexander Neff
d56be12d17
Highlight the IP address
2025-06-30 06:18:05 -04:00
mpgn
29a437938c
Merge pull request #765 from azoxlpf/Fix/TGS-REP
...
fix hashcat/John format for TGS-REP
2025-06-30 10:57:35 +02:00
azoxlpf
4c0ebf0b1e
fix hashcat/John format for TGS-REP
2025-06-30 10:38:55 +02:00
Alexander Neff
e1136f681c
Formatting
2025-06-29 19:38:44 -04:00
Alexander Neff
ce157470a1
Finish entry-sync-creds module
2025-06-29 19:38:35 -04:00
Alexander Neff
48a0e5e3f2
Heavily reduce ps script length to fit in limit
2025-06-29 19:38:18 -04:00
Alexander Neff
dc2d748b6e
Typo
2025-06-29 17:26:09 -04:00
Alexander Neff
ec2f4cc500
Rename typo in filename
2025-06-29 17:22:59 -04:00
Alexander Neff
665b77d5e6
Add semi working Extractor script for entra id creds
2025-06-29 17:21:18 -04:00
Alexander Neff
23bee813b7
Remove unnecessary host info and formatting
2025-06-29 11:53:56 -04:00
Alexander Neff
8415e25698
Init module to extract entry id sync credentials
2025-06-29 11:43:47 -04:00
Alexander Neff
e2a7d5c597
Add module to find the entra-id sync server
2025-06-29 11:42:58 -04:00
zblurx
d28b11df42
Merge pull request #760 from Pennyw0rth/enum_links_fix
...
Fix enum_links module privilege requirement
2025-06-26 18:37:24 +02:00
zblurx
716ddf2ca0
fix enum_links module privilege requirement
2025-06-26 17:07:41 +02:00
FaganAfandiyev
d80568056b
Add --history option for NTDS
2025-06-25 16:14:59 -04:00
mpgn
dea04c9664
Merge pull request #756 from Pennyw0rth/preauth
2025-06-25 08:22:23 +02:00
mpgn
a6225e5df7
fix review
2025-06-25 00:30:03 +02:00
mpgn
64cbd35206
update flag to better understant
2025-06-24 21:40:02 +00:00
mpgn
26c3f661a2
Merge pull request #755 from Pennyw0rth/mssql
...
Update mssql enum login
2025-06-24 11:31:59 +02:00
mpgn
1ffe908f80
fix review
2025-06-24 10:36:27 +02:00
mpgn
9bd4f91d58
fix review
2025-06-24 10:29:33 +02:00
termanix
a2ea6b9db7
Refactor strict attribute access
...
Signed-off-by: termanix <[email protected] >
2025-06-24 10:48:35 +03:00
termanix
7c9786d954
Merge branch 'main' into patch-1
2025-06-24 09:45:32 +03:00
mpgn
832969cf09
better output
2025-06-24 00:38:05 +02:00
mpgn
cf99d9cd45
better mssql enum login
2025-06-23 21:52:27 +02:00
Alex
e446d36779
Merge pull request #750 from Pennyw0rth/neff-fix-issues
2025-06-21 19:25:26 +02:00
Xed
e2a530af15
Merge branch 'main' into drop_library_ms
2025-06-21 14:06:45 +02:00
Alexander Neff
e87e80a58d
Fix file path on windows, #746
2025-06-19 13:52:32 -04:00
Alexander Neff
d317d4993f
Fix #748
2025-06-19 13:52:09 -04:00
Alex
4d0f950de0
Merge pull request #719 from azoxlpf/feat/kerberoast-no-preauth
...
Add Kerberoasting support with no-preauth user
2025-06-19 17:25:38 +02:00
Alexander Neff
203f532401
Linting
2025-06-19 11:15:20 -04:00
zblurx
4f8587f6a7
Merge pull request #745 from Pennyw0rth/fix-cbt-check
...
Fix #744
2025-06-19 11:34:18 +02:00
Alex
4d7ec6ea92
Merge pull request #747 from Reelix/patch-1
2025-06-18 17:11:01 +02:00
Reelix
6562500d0a
Fixed minor typo in issue template
...
openning -> opening
Signed-off-by: Reelix <[email protected] >
2025-06-18 16:59:11 +02:00
mpgn
581fa4ae19
fix
2025-06-17 17:00:13 +02:00
mpgn
66c8d0cea7
update rdp exec code
2025-06-17 16:59:14 +02:00
zblurx
b7259fd68c
Fix #744
2025-06-17 16:58:58 +02:00
Alex
9ca183d549
Merge pull request #743 from Pennyw0rth/neff-fix-cbt-check
...
Fix conn reset error on windows if dc doesnt have tls cert
2025-06-17 13:57:14 +02:00
mpgn
f227432e7d
Merge pull request #739 from Pennyw0rth/fix_is_dc
...
Fix function to check if hosts is a dc or not
2025-06-17 13:54:08 +02:00
Alexander Neff
79b6c7a2ad
Fix conn reset error on windows if dc doesnt have tls cert
2025-06-17 07:38:23 -04:00
Alex
0630e22503
Merge pull request #608 from termanix/notepad
...
New SMB Module Notepad
2025-06-17 13:27:17 +02:00
Alexander Neff
74ecd3ab37
Don't break out of loop if one file doesn't have meaningful content
2025-06-17 07:07:50 -04:00
Alexander Neff
17e03d2405
Retrieve files after killing the process
2025-06-17 07:07:23 -04:00
mpgn
ca932eb383
fix error is dc
2025-06-17 09:41:20 +02:00
Alex
a48cbdb562
Merge pull request #741 from Pennyw0rth/neff-fix-ldap
2025-06-16 21:49:29 +02:00
termanix
9b31baa7ff
added to e2e
2025-06-16 15:21:17 -04:00
termanix
376b7e0762
removed unnecessary search
2025-06-16 15:20:10 -04:00
termanix
2c6e23c4c0
Merge branch 'main' into patch-1
2025-06-16 22:05:41 +03:00
Alexander Neff
659c2256dc
Skip cbt check if port explicitly set to 389
2025-06-16 14:34:14 -04:00
mpgn
01b83d44d3
fix review
2025-06-16 17:56:18 +00:00
termanix
05ad12f911
add kill option if user wants to kill process and read files
2025-06-16 13:50:33 -04:00
termanix
059a20b52b
Merge branch 'main' into notepad
2025-06-16 18:05:42 +03:00
mpgn
a81cc6740b
Merge branch 'main' into feat/kerberoast-no-preauth
2025-06-16 16:42:11 +02:00
Alexander Neff
e17b5ada8c
Prevent crash when password flag was not specified
2025-06-16 09:56:49 -04:00
Alexander Neff
5fb9946d8a
Swap logic to -u asreproastable --no-preauth kerberoastable
2025-06-16 09:50:19 -04:00
Alexander Neff
dd637cfb18
Fix setting username when we authenticate with ccache
2025-06-16 09:47:27 -04:00
Alexander Neff
b6a0599252
Require username/user list for no-preauth to kerberoast them
2025-06-16 08:54:24 -04:00
Alexander Neff
9e780c71a9
Use kerberos with no-preauth and allow preauth authentication if flag is set
2025-06-16 08:53:50 -04:00
Alexander Neff
4cd0bf12c7
Fix indentation
2025-06-16 08:01:18 -04:00
Alex
fde3de726e
Merge pull request #455 from dev-fortress/aws-credentials
...
New module: AWS Credentials Finder
2025-06-16 13:49:06 +02:00
Alexander Neff
09bdf0b6a6
Apply changes by @dev-fortress
2025-06-16 07:41:29 -04:00
Alexander Neff
6ef84832bf
Revert "Update aws-credentials.py"
...
This reverts commit fc0c615fcd .
2025-06-16 07:40:57 -04:00
azoxlpf
2922c04645
fix: corrected bad variable name
2025-06-16 08:31:47 +02:00
mpgn
9a755391f1
check only if port 135 is open, better faster
2025-06-15 23:57:53 +02:00
mpgn
14b1bc63b8
add more resiliant check on dc in case rpc is filtered
2025-06-15 22:53:45 +02:00
mpgn
3fe32d6530
add timeout to isdc function in case rpc is blocked
2025-06-15 22:39:43 +02:00
Braiant Giraldo
fc0c615fcd
Update aws-credentials.py
...
Refined AWS credentials detection: updated both Bash and PowerShell scripts to search only for files named 'credentials' that contain the keyword 'aws', which is consistently present in relevant AWS configuration files. Removed 'config' from the scope after confirming it contains no useful information. Also suppressed 'permission denied' errors in the Bash script for cleaner output during scans.
Signed-off-by: Braiant Giraldo <[email protected] >
2025-06-14 19:40:41 -05:00
Professor Bossetti
0f6f6ad9e6
Merge branch 'main' into patch-1
2025-06-14 12:43:01 +02:00
Alex
31acd22652
Merge pull request #737 from Pennyw0rth/neff-fix-badsuccessor
2025-06-14 11:26:59 +02:00
Professor Bossetti
3332bee3d5
Alignment with main branch
2025-06-14 06:54:26 +00:00
Alexander Neff
094cab542f
Fix dns resolution when finding 2025 dc
2025-06-13 18:12:12 -04:00
Kahvi-0xFF
c64a5b13aa
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-13 10:14:15 -04:00
zblurx
2cd67b9dd3
Merge pull request #718 from rtpt-romankarwacik/efsr_spray_module
...
Add efsr_spray module
2025-06-13 15:03:56 +02:00
zblurx
4a7ad60f62
Merge branch 'main' into efsr_spray_module
2025-06-13 15:01:27 +02:00
Professor Bossetti
2bd75d987f
Image size improvements and pinned Netexec version
...
Minimized final image size (From ~2 GB to ~350 MB)
Pinned a stable NetExec version
Signed-off-by: Professor Bossetti <[email protected] >
2025-06-13 12:09:51 +02:00
azoxlpf
f3e60e5ed6
refactor(kerberos): unify AES etype handling and use f-strings
2025-06-13 10:06:28 +02:00
fpreynaud
d4168b425b
Merge branch 'main' into wcc_llmnr
2025-06-13 09:41:13 +02:00
Alex
aec6448241
Merge pull request #493 from Yeeb1/module_ggp_privs
...
Add new SMB module to extract GPO deployed privilege assignments
2025-06-13 00:33:33 +02:00
Alexander Neff
25fee91e4e
Replace share listing with test read on SYSVOL share
2025-06-12 18:29:01 -04:00
Alexander Neff
55cd9bb88d
Fix retrieving defaultNamingContext from ldap connection
2025-06-12 18:14:47 -04:00
Alexander Neff
64ccbbb5df
Formatting
2025-06-12 18:14:08 -04:00
crosscutsaw
04aca03a9f
Update rclone.py
...
Signed-off-by: crosscutsaw <[email protected] >
2025-06-13 00:47:52 +03:00
Alexander Neff
bfada649f3
Formatting
2025-06-12 16:39:52 -04:00
Alex
1779e842ff
Merge branch 'main' into module_ggp_privs
2025-06-12 21:02:16 +02:00
Kahvi-0xFF
72deeca890
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-12 09:50:43 -04:00
Kahvi-0xFF
a62df1b1dd
Merge branch 'Pennyw0rth:main' into main
2025-06-12 09:31:54 -04:00
Kahvi-0xFF
cbcc26f2c5
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-12 09:31:24 -04:00
termanix
3f78320966
ruff fix
2025-06-12 08:03:42 -04:00
termanix
6bbe239166
Added LDAP Search OUs
2025-06-12 07:38:29 -04:00
Roman Karwacik
ff0c47bd5e
check if pipe was activated even if deletion was not successful
2025-06-12 12:31:41 +02:00
Alex
0cb26b9760
Merge branch 'main' into efsr_spray_module
2025-06-11 11:24:07 +02:00
Roman Karwacik
dbd476d3aa
linting
2025-06-11 11:07:51 +02:00
Roman Karwacik
a5dbfdbab4
add option to exclude shares and exclude SYSVOL by default
2025-06-11 11:06:24 +02:00
termanix
7a39c4bd46
removed unnecessary lines, editted try&except blocks
2025-06-10 16:03:22 -04:00
Alex
f5604a63d1
Merge branch 'main' into refactor_SMBSpider
2025-06-10 16:04:18 +01:00
termanix
15376c3fdb
Merge branch 'Pennyw0rth:main' into notepad
2025-06-10 17:26:29 +03:00
Alex
5da5bf1271
Merge pull request #649 from d4ytox/Refactoring-NXC_PATH
...
Refactoring nxc path and adding support for XDG Base Directory - addressing issue #558
2025-06-10 14:54:32 +02:00
Alexander Neff
06c0a7fb3d
Linting
2025-06-10 08:43:08 -04:00
Alexander Neff
ea0a42af7c
Fix path in user-desc module
2025-06-10 08:38:57 -04:00
Alexander Neff
e2351bac12
Remove legacy code
2025-06-10 08:22:45 -04:00
Alexander Neff
5101a96e03
Replace config paths with variable and formatting
2025-06-10 08:14:51 -04:00
Alexander Neff
029ec26024
Remove legacy code
2025-06-10 08:03:49 -04:00
Alexander Neff
b9bee6bb0b
Use NXC_PATH instead of XDG env var and also initialize TMP folder when nxc folder exists
2025-06-10 07:59:27 -04:00
Alexander Neff
07803cb58c
Use NXC_CONFIG instead of retrieving it with NXC_PATH/nxc.conf
2025-06-10 07:58:44 -04:00
Alex
7ea164af97
Normpath for nxc folder
2025-06-10 12:47:02 +02:00
Alex
0b4d0bb21c
Replace single quotes
2025-06-10 12:46:37 +02:00
Alex
4af8b4a826
Merge branch 'main' into refactor-nxc-path
2025-06-10 12:45:33 +02:00
haytehcy
a0ab16c45b
minor tweaks
2025-06-10 10:48:21 +01:00
Alex
1f07880e4e
Merge branch 'Pennyw0rth:main' into refactor_SMBSpider
2025-06-10 09:33:21 +01:00
haytehcy
ae44a34e74
Added a few more QOL changes to spider
2025-06-10 09:32:37 +01:00
Roman Karwacik
318ac2ec61
move fail logs into single row for better readability
2025-06-10 09:06:42 +02:00
Roman Karwacik
aae875d1cd
removed hardcoded error messages
2025-06-10 09:03:52 +02:00
Alexander Neff
3bc5371dd9
Reset tab counter for each user
2025-06-09 16:28:34 -04:00
Alexander Neff
609b0ee2db
Formatting
2025-06-09 15:48:03 -04:00
Alexander Neff
bbd0ae1200
Formatting
2025-06-09 15:39:37 -04:00
Alex
7a1eca10d6
Merge branch 'main' into notepad
2025-06-09 21:36:32 +02:00
Alex
3591950f02
Merge pull request #725 from Mojo8898/main
...
Fixing --generate-hosts-file smb option
2025-06-09 15:31:26 +02:00
Alex
1393d13106
Merge pull request #561 from crosscutsaw/presence
...
new module: smb > presence
2025-06-08 18:24:41 +02:00
Mickey De Baets
af39e64aff
Merge branch 'main' into main
2025-06-08 14:25:09 +02:00
Mojo8898
eb7b522552
Fixing --generate-hosts-file smb option
2025-06-08 04:42:58 -04:00
Alex
812c277daa
Merge pull request #724 from Pennyw0rth/neff-add-ls-check
...
Add error handling if we can't mount share with --ls
2025-06-07 15:13:52 +02:00
Alexander Neff
cdecf3f979
Add error handling if we can't mount share with --ls
2025-06-07 14:52:41 +02:00
Alex
9f7c35cb33
Merge pull request #722 from Pennyw0rth/neff-fix-version-log
...
Move version log after file logger is attached
2025-06-06 16:30:33 +02:00
Alexander Neff
8e30699886
Move version log after file logger is attached so it is in the file log as well
2025-06-06 10:23:30 -04:00
Kahvi-0xFF
5699ccc173
Update schtask_as.py - added option to specify exec method
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-05 10:10:36 -04:00
zblurx
57b3f022ba
update db mismatch error printed
2025-06-05 15:45:16 +02:00
zblurx
9d3e820aac
update database table declaration
2025-06-05 15:39:57 +02:00
Kahvi-0xFF
7e23fb3a9a
Update atexec.py to help bypass detection
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-05 09:13:02 -04:00
Kahvi-0xFF
c027b4a519
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-04 18:32:41 -04:00
Kahvi-0xFF
9d2a1e86b7
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-04 18:32:01 -04:00
Kahvi-0xFF
cd33dc9eb5
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-04 18:23:45 -04:00
Kahvi-0xFF
5ca5c96015
Update schtask_as.py to help bypass detection
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2025-06-04 18:11:21 -04:00
azoxlpf
358c4ad3fc
Add Kerberoasting support with no-preauth user
2025-06-04 11:11:47 +02:00
Roman Karwacik
f2b180e9ca
Add efsr_spray module
2025-06-04 09:26:04 +02:00
Alex
fbc787c620
Merge pull request #717 from Pennyw0rth/neff-fix-query
...
Fix querying when non searchResultEntries are returned
2025-06-03 22:39:20 +02:00
Alexander Neff
76ed75e58b
Skip non-searchResult entries similar to how the parser works
2025-06-03 15:59:05 -04:00
haytehcy
ac4c470c16
Minor Tweaks to Spider
2025-06-03 18:31:30 +01:00
Alex
00ffc96832
Merge branch 'Pennyw0rth:main' into refactor_SMBSpider
2025-06-03 17:30:54 +01:00
Alex
3e3987451b
Merge pull request #712 from Pennyw0rth/neff-fix-asreproast-anon
...
Enable asreproast with anonymous ldap logins
2025-06-03 11:17:02 +02:00
Alex
9d3f34e4b6
Merge pull request #711 from t94j0/main
...
Update kerberoast command output to be idiomatic
2025-06-03 11:15:09 +02:00
Alex
6decd7fb00
Merge pull request #714 from Pennyw0rth/neff-fix-subnets
...
Add base_dn option to subnet module
2025-06-03 11:09:55 +02:00
Alexander Neff
10e7c62c30
Allow anonymous auth with asreproast and kerb/hash auth
2025-06-03 05:07:41 -04:00
Alexander Neff
e2e70a7193
Allow an empty nt hash
2025-06-03 05:07:21 -04:00
Alexander Neff
dc0bde6d80
Add base_dn option to subnet module
2025-06-03 04:40:39 -04:00
Mickey De Baets
db5bf36a1c
Merge branch 'main' into main
2025-06-02 21:46:44 +02:00
Max Harley
73dc41122a
Address comments from NeffIsBack
2025-05-30 11:51:42 -04:00
Alexander Neff
2a6b4c7e4b
Formatting
2025-05-29 19:25:34 -04:00
Alexander Neff
ad637e1c8e
Enable asreproast with anonymous ldap logins
2025-05-29 19:15:19 -04:00
Alexander Neff
e8f62d23c2
Hide non admins in --verbose
2025-05-29 18:30:07 -04:00
Alexander Neff
655c272462
Functionalize rpc methods, fix kerberos auth and resolve usernames for non-admin SIDs
2025-05-29 18:23:03 -04:00
Alexander Neff
f24bb77b0c
Formatting
2025-05-29 17:39:14 -04:00
Alexander Neff
e7138b6a15
Add extraction of scheduled tasks
2025-05-29 17:38:40 -04:00
Max Harley
74c252656a
Update kerberoast command output to be idiomatic
...
The output currently shows as username\domain. Most of the time, tools output
usernames in the opposite way where the domain is first, and then the username
2025-05-29 17:13:14 -04:00
Alexander Neff
9a11512426
Formatting
2025-05-29 14:19:04 -04:00
Alexander Neff
2e86a0e521
Functionalize admin enumeration
2025-05-29 13:55:26 -04:00
zblurx
71ccfd930d
Merge pull request #709 from Pennyw0rth/ldap_checker_removal
...
Ldap checker removal
2025-05-28 16:04:31 +02:00
Alex
1c1194aa31
Merge pull request #666 from termanix/dc-list
...
REopen Update --dc-list Now check trusted domains DCs
2025-05-28 16:02:14 +02:00
termanix
ed88beebf9
added remove sign to description on enum_trust
2025-05-28 09:56:21 -04:00
termanix
36bdf2fb63
added author to pi
2025-05-28 09:51:13 -04:00
zblurx
155553a749
revert db changes
2025-05-28 15:48:15 +02:00
termanix
48839579e2
Merge branch 'main' into dc-list
2025-05-28 09:43:54 -04:00
Alexander Neff
b2fe25ac91
Change domain color on trust enumeration
2025-05-28 09:38:30 -04:00
Alexander Neff
fdfafb6f6e
Separate domain trusts visually by using succes instead of hightlight
2025-05-28 09:18:37 -04:00
Alexander Neff
87c95a4133
Move int casting to value source
2025-05-28 09:01:18 -04:00
Alexander Neff
23bab54b1c
Remove duplicate if list is empty check
2025-05-28 08:37:13 -04:00
Alexander Neff
5456154fa2
Fix trust bits
2025-05-28 08:36:47 -04:00
Alexander Neff
1904ee44ae
Simplify logic
2025-05-28 08:17:48 -04:00
Alexander Neff
ccd39ff2e3
Fix error handling when resolving the DCs
2025-05-28 08:12:04 -04:00
Alex
1a37573bea
Merge pull request #710 from Pennyw0rth/neff-fix-spec
...
Fix spec file
2025-05-28 14:05:04 +02:00
Alexander Neff
a6542cac64
Fix spec file
2025-05-28 07:55:30 -04:00
Alexander Neff
f3d5f8df0a
Readd ldap-checker module with 'REMOVED' note
2025-05-28 07:21:04 -04:00
Alexander Neff
f36c53f34f
Formatting
2025-05-28 07:06:47 -04:00
Alexander Neff
dd2a053e68
Add debug log statements
2025-05-28 07:06:33 -04:00
Alexander Neff
a651678237
Add exception handling if no TLS cert is available
2025-05-28 06:41:32 -04:00
Alexander Neff
8fb63349df
Add debug log statements
2025-05-28 06:33:19 -04:00
Alexander Neff
0d87cc573b
Update impacket to add the latest changes by zblurx regarding the cbt
2025-05-28 06:29:05 -04:00
Alexander Neff
8fd0e3917d
Rename variable to more meaningful name
2025-05-28 06:28:37 -04:00
zblurx
3b0f74fdf6
cleanup the code
2025-05-28 12:12:55 +02:00
zblurx
3fb002c2b7
update poetry lock
2025-05-28 12:08:02 +02:00
zblurx
f808948970
update e2e
2025-05-28 11:37:57 +02:00
zblurx
267bd93c42
change colors and add values into db
2025-05-28 11:37:50 +02:00
zblurx
5bbdb70ec9
update cbt check
2025-05-28 10:57:30 +02:00
zblurx
f8033d6c64
fix ldap-signing check
2025-05-27 19:14:14 +02:00
zblurx
66642a514f
implement the checks from ldap-checker module in core ldap protocol
2025-05-27 19:10:46 +02:00
Alex
3bf9de3f46
Merge pull request #707 from Pennyw0rth/neff-switch-impacket
...
Switch impacket branch to Pennyw0rth fork
2025-05-27 15:16:14 +02:00
Alexander Neff
f61e90b770
Switch impacket branch to Pennyw0rth fork
2025-05-27 09:10:43 -04:00
Alexander Neff
4f2a611d40
Add credits
2025-05-27 08:56:47 -04:00
Alexander Neff
812ceabb70
Hide enumerate admins to --verbose for reducing logs when scanning large ranges
2025-05-27 08:48:48 -04:00
Alexander Neff
c62b5fc18b
Fix logging bug in change-password
2025-05-27 08:45:28 -04:00
Alexander Neff
b2b5c68e1c
We must connect to the DC instead of the target because we can only enumerate domain groups on the DC
2025-05-27 08:45:15 -04:00
Alexander Neff
7108e2aa5b
Make opsec_safe as we only use native win protocols
2025-05-27 07:42:24 -04:00
Alexander Neff
81a144902f
Group users when being in both dom admin and enterprise admin group
2025-05-27 07:42:02 -04:00
Alexander Neff
65bd7aedf9
Remove Administrators group as not found and readd check for dom admin in folders
2025-05-27 07:32:14 -04:00
Alexander Neff
6c9c141885
Skip administrator folder
2025-05-27 07:07:35 -04:00
Alexander Neff
a6fa872b3b
Switch to user objects instead of multiple lists
2025-05-27 06:59:49 -04:00
Alexander Neff
747df104ff
Simplify exception handling
2025-05-27 06:59:11 -04:00
haytehcy
6e52d617c8
Ruff checks
2025-05-26 22:03:44 +01:00
haytehcy
afb78358cf
Refactored SMBSpider
2025-05-26 21:38:34 +01:00
Alex
e2f225ad34
Merge branch 'main' into dc-list
2025-05-26 11:44:51 +02:00
Alexander Neff
3b12e1407a
Merge branch 'main' into presence
2025-05-25 16:25:42 -04:00
Alex
6a0a985c32
Merge pull request #629 from Pennyw0rth/neff-update-ruff
...
Update Ruff and Fix Linting
2025-05-25 22:21:46 +02:00
Alexander Neff
3fcb3777db
Regenerate lock file
2025-05-25 14:32:49 -04:00
Alexander Neff
d0f9b2d9e2
Display proper info when there is no adcs in the domain
2025-05-25 14:25:02 -04:00
Alexander Neff
81e4977324
Fix remove-mic module
2025-05-25 14:21:44 -04:00
Alexander Neff
1b750d8fbc
Don't test change-password module otherwise we can't log in anymore...
2025-05-25 14:16:33 -04:00
Alexander Neff
730a4bfded
Linting
2025-05-25 13:11:32 -04:00
Alexander Neff
9e1c44bcfb
Merge branch 'main' into neff-update-ruff
2025-05-25 13:11:07 -04:00
Alexander Neff
769f82f5e3
Linting
2025-05-25 13:10:28 -04:00
Alexander Neff
c91c9dd93b
Linting
2025-05-25 13:10:01 -04:00
mpgn
b1f0368835
Merge pull request #664 from Pennyw0rth/be
...
Make nxc compatible with bloodhound-ce zip
2025-05-25 18:55:52 +02:00
mpgn
1afef2fdf5
Merge branch 'main' into be
...
Signed-off-by: mpgn <[email protected] >
2025-05-25 18:48:44 +02:00
Alexander Neff
dd32695096
Update lock file
2025-05-25 12:47:13 -04:00
mpgn
1281b0f296
Merge pull request #671 from Pennyw0rth/fix_host_info
2025-05-25 18:46:59 +02:00
Alexander Neff
b73e51c0b7
Merge branch 'main' into neff-update-ruff
2025-05-25 12:46:35 -04:00
Alexander Neff
e5d3b66fb3
Add comments
2025-05-25 11:29:02 -04:00
Alexander Neff
70910223b4
Move bloodhound package info function to the helpers
2025-05-25 11:04:29 -04:00
Alexander Neff
09cb12d759
Swap command order, otherwise pipx will complain
2025-05-25 11:02:10 -04:00
Alexander Neff
51dfd5179a
Actually as the poetry file now says 'bloodhound-ce' we must uninstall that package
2025-05-25 10:47:07 -04:00
Alexander Neff
962a7ec45c
Add info if 'bloodhound' package not found
2025-05-25 10:43:38 -04:00
Alex
ff531553ac
Merge pull request #706 from Pennyw0rth/neff-improve-eventlog_creds
...
Improve eventlog_creds
2025-05-25 16:16:16 +02:00
Alexander Neff
614de0b75f
Use already existing config object
2025-05-25 10:11:49 -04:00
Alexander Neff
c3c487600e
Add missing check if config section is missing
2025-05-25 10:10:29 -04:00
Alexander Neff
2c12ab7202
Improve regex match and reduce false positives
2025-05-25 09:48:58 -04:00
Alexander Neff
379641e25c
Allow setting the limit to UNLIMITED
2025-05-25 09:48:38 -04:00
Alexander Neff
09ca4c91f4
Implement unlimited querying with MSEven
2025-05-25 09:47:54 -04:00
mpgn
65e6e8cf2e
fix poetry lock
2025-05-25 12:21:42 +00:00
mpgn
2164b4c699
Merge branch 'main' into be
...
Signed-off-by: mpgn <[email protected] >
2025-05-25 14:17:26 +02:00
Alexander Neff
ef7e97478e
Add missing output variable
2025-05-25 08:14:37 -04:00
Alexander Neff
779f955f0f
Exclude Application Data as this creates and infinite recursion on wmi/winrm
2025-05-25 07:45:52 -04:00
Alex
ded34e0de2
Merge pull request #705 from Pennyw0rth/neff-fix-badsuccessor
...
Check for win server 2025 instead of DFL 2025
2025-05-25 13:21:46 +02:00
Alexander Neff
e53f1cf378
Now checking for dc with win server 2025 and not functional domain level to be 2025
2025-05-25 07:16:03 -04:00
Alex
5c36c9859f
Merge pull request #704 from Pennyw0rth/neff-fix-ldap
...
Switch LDAP source to fixed version
2025-05-25 13:15:03 +02:00
mpgn
15fb6a3d1f
update poetry lock
2025-05-25 11:07:30 +00:00
mpgn
95ca5b437a
Merge branch 'main' into be
...
Signed-off-by: mpgn <[email protected] >
2025-05-25 13:04:29 +02:00
mpgn
7d3dd40912
make bloodhound-ce default
2025-05-25 11:02:38 +00:00
Alexander Neff
263b1df2ae
Revert #682 and reenable ldap signing
2025-05-25 06:58:42 -04:00
Alexander Neff
789edeb30a
Switch to the fixed ldap signing version from zblurx
2025-05-25 06:57:34 -04:00
Alexander Neff
1280eaf0cb
Fix winrm command execution and add missing parameters to ps_execute
2025-05-25 06:54:20 -04:00
Alexander Neff
a3889b84f1
Print output line by line
2025-05-25 06:53:56 -04:00
Alexander Neff
70cc90ad11
Merge branch 'main' into aws-credentials
2025-05-24 11:13:58 -04:00
Alex
0befdd064c
Merge pull request #703 from Pennyw0rth/neff-fix-logger-port
...
Fix logging port and also update the port when switching to LDAPS
2025-05-24 17:12:42 +02:00
Alexander Neff
a4cf832e9d
Remove wmi from executable protocols and remove wmiexec from exec-methods due to bugs
2025-05-24 09:54:47 -04:00
Alexander Neff
5cd7a6c7e8
Fix logging port and also update the port when switching to LDAPS
2025-05-24 09:32:10 -04:00
Alexander Neff
0fe468f39b
Add wmi to supported protocols
2025-05-24 09:24:01 -04:00
Alexander Neff
4714664abf
Formatting
2025-05-24 08:53:30 -04:00
Alex
c8430b661e
Merge branch 'main' into aws-credentials
2025-05-24 14:40:37 +02:00
Braiant Giraldo
1431481116
Update aws-credentials.py
...
Added context.log.highlight() to the module
Signed-off-by: Braiant Giraldo <[email protected] >
2025-05-23 19:31:48 -05:00
mpgn
c15faf1623
Merge pull request #702 from Pennyw0rth/badsuccesor
...
Add Badsuccessor module
2025-05-23 18:10:59 +02:00
Alexander Neff
b84d04a448
Make text more precise
2025-05-23 12:07:49 -04:00
Alexander Neff
e75512a93c
Add domain functional level check
2025-05-23 12:04:19 -04:00
Alexander Neff
fb754166e4
Add options text
2025-05-23 11:41:42 -04:00
Alexander Neff
dbc3bd335a
Formatting
2025-05-23 11:40:58 -04:00
mpgn
c09376859e
fix ruff
2025-05-23 17:32:04 +02:00
mpgn
d1d700243b
add module badsuccessor
2025-05-23 17:13:33 +02:00
mpgn
057872cc15
add exam
2025-05-23 17:13:10 +02:00
Alex
e6fe63475a
Merge pull request #691 from crosscutsaw/ntdsutil-new
...
update ntdsutil.py to behave like --ntds
2025-05-23 00:01:24 +02:00
Alexander Neff
073abc9652
Remove unused import
2025-05-22 17:58:25 -04:00
Alexander Neff
abf9b34ad0
Make use of the filename template in the smb protocol
2025-05-22 17:57:26 -04:00
mpgn
1319fb4fc4
Merge pull request #670 from Pennyw0rth/ldap_fail
...
Fix ldap simple auth with base object
2025-05-22 22:53:10 +02:00
Alexander Neff
3f38b5fc8c
Merge both if statements
2025-05-22 16:43:27 -04:00
Alexander Neff
41b60eb3fc
Restrict swapping the scope to when we have an operationsError and scope is None (didn't try with scope=baseObject)
2025-05-22 16:41:36 -04:00
FRE
d76127cc09
[WCC] Add check for LLMNR
2025-05-22 15:54:02 +02:00
FRE
698c32f73d
[WCC] Ignore KDNIC in NBTNS check
2025-05-22 15:08:56 +02:00
mpgn
a9e182770f
update code
2025-05-21 14:47:14 +02:00
Alexander Neff
b87f525d87
Add the Administrators to checked groups
2025-05-20 18:44:09 -04:00
Mickey De Baets
6a9f1212c1
Merge branch 'main' into main
2025-05-20 15:18:20 +02:00
termanix
500eaa7ca8
enum_trust ruff fixed
2025-05-20 09:08:37 -04:00
termanix
a689cd1459
Replaced Reprecated with Removed
2025-05-20 09:05:30 -04:00
termanix
c25640c997
Merge branch 'Pennyw0rth:main' into dc-list
2025-05-20 09:02:26 -04:00
Alex
69c1137a3b
Merge pull request #699 from Pennyw0rth/NeffIsBack-patch-1
2025-05-20 12:31:27 +02:00
emre
e18e69e563
Update ntdsutil.py
2025-05-20 07:26:07 +03:00
Alex
ac80cc2a73
Update PULL_REQUEST_TEMPLATE.md
...
Signed-off-by: Alex <[email protected] >
2025-05-20 01:19:01 +02:00
LTJAX
3bb35503ed
Add mssql_dumper module for sensitive data discovery
2025-05-19 17:34:43 +03:00
Alexander Neff
d481f55a14
Simplify logic and remove highlight if no admin was found in directories
2025-05-18 20:14:59 -04:00
Alexander Neff
b0d34ad7fc
Simplify logic
2025-05-18 20:13:21 -04:00
Alexander Neff
2e0443ff8a
Remove duplicate initialization
2025-05-18 20:05:24 -04:00
Alexander Neff
e2539855a3
Simplify logic
2025-05-18 20:05:10 -04:00
Alexander Neff
e08935d31a
Simplify logic
2025-05-18 19:59:35 -04:00
Alexander Neff
af56d9470c
Remove unused function and simplify logic
2025-05-18 19:54:07 -04:00
Alexander Neff
fb52fc6dc1
Simplify logic
2025-05-18 19:52:45 -04:00
Alexander Neff
a2d4d9319a
Simplify logic
2025-05-18 19:49:41 -04:00
Alexander Neff
a219e092b8
Get only the default domain and make code shorter
2025-05-18 19:30:20 -04:00
Alexander Neff
01c7752522
Improve readability
2025-05-18 19:29:27 -04:00
Alexander Neff
9be36017b6
Replace .error with .fail and clean up code
2025-05-18 19:02:14 -04:00
Alex
d1239445e7
Merge branch 'main' into presence
2025-05-19 00:52:48 +02:00
emre
137f70a84c
Update ntdsutil.py
2025-05-19 00:37:43 +03:00
emre
c3c4edbe4e
Update ntdsutil.py
2025-05-19 00:37:02 +03:00
emre
11458b07f0
ruff fix all
2025-05-19 00:26:02 +03:00
emre
c34d00651b
ruff fix everything
2025-05-19 00:23:13 +03:00
emre
7e0476d50b
Update ntdsutil.py
2025-05-18 20:39:22 +03:00
Alex
e721917b8e
Merge pull request #695 from Cyb3rC3lt/main
...
Updated whoami and find-computer modules
2025-05-18 12:50:18 +02:00
Alexander Neff
e9d17004d4
Formatting
2025-05-18 06:46:23 -04:00
Alexander Neff
c11090e1e6
Remove unnecessary try&except
2025-05-18 06:46:14 -04:00
Alexander Neff
d7333e25d9
Add missing import
2025-05-18 06:45:52 -04:00
David Kennedy
07f273f8c4
Reverted size limit to a large number i.e. 999
...
Signed-off-by: David Kennedy <[email protected] >
2025-05-18 11:15:05 +01:00
Alex
844af809d5
Merge pull request #452 from lodos2005/main
...
eventlog_creds Module
2025-05-18 12:05:36 +02:00
David Kennedy
460c351228
Updated to use parse_results and import datetime
...
Signed-off-by: David Kennedy <[email protected] >
2025-05-18 10:38:31 +01:00
emre
fce0ed7ade
Update presence.py
2025-05-18 09:49:09 +03:00
Alex
7aa6c69039
Merge pull request #696 from Pennyw0rth/neff-fix-winrm-db
...
Fix winrm database logic
2025-05-17 22:30:34 +02:00
Alex
9f906eaa93
Merge pull request #694 from cyberG33k02/false-negative-fix
...
fix(ntlm): include server hostname in Workstation field of Authentication
2025-05-17 22:10:39 +02:00
Alexander Neff
07a0ae0aa9
Add database logic for hash login and ensure admin relation is added via queried userid
2025-05-17 15:49:25 -04:00
cyber02
4da19545f6
fix: added reference to issue #694 in NTLM workstation field comment, added the same fix to the hash_login() method
2025-05-17 20:39:30 +01:00
emre
4992c454a3
Update presence.py
2025-05-17 22:02:41 +03:00
siouxchief
92ac8be7da
Commit
2025-05-17 11:45:37 +01:00
cyber02
fcb3078476
fix(ntlm): include server hostname in Workstation field of Authenticate message
2025-05-16 23:01:45 +01:00
mpgn
f3da3dad00
avoid changing login logic
2025-05-15 23:19:29 +02:00
mpgn
ee945fa9b4
fix review
2025-05-15 23:13:23 +02:00
mpgn
2cf004db4f
fix review
2025-05-15 23:13:00 +02:00
emre
770cb6ab7e
Update ntdsutil.py
2025-05-15 21:26:26 +03:00
Alex
07b4eba6e0
Merge pull request #557 from crosscutsaw/enable_cmdshell
...
new module: mssql > enable_cmdshell
2025-05-15 20:11:26 +02:00
Alexander Neff
6030c49f54
Specify that it is an MSSQL server
2025-05-15 14:08:17 -04:00
emre
86aac144b5
Update ntdsutil.py
2025-05-15 21:04:23 +03:00
Alexander Neff
1b93d061d9
Rename module link_enable_xp.py to link_enable_cmdshell.py, so that naming scheme is similar to enable_cmdshell
2025-05-15 14:01:26 -04:00
Alexander Neff
30a52aa84f
Change .error to .fail to properly use context in logger
2025-05-15 14:00:32 -04:00
Alexander Neff
7cdd1238a2
Formatting and exit when required action is not available
2025-05-15 13:59:42 -04:00
Alex
fda6b6a2f4
Merge branch 'main' into enable_cmdshell
2025-05-15 19:16:36 +02:00
Alex
9829b08628
Merge pull request #463 from Dfte/SMB]-Add-the-recyclebin-module
...
Add option to --spider and add recyclebin.py module
2025-05-15 19:09:11 +02:00
Alexander Neff
0391e813a7
Linting
2025-05-15 13:06:46 -04:00
Alexander Neff
6cf11e8338
Rename no_print_result to silent in args as well
2025-05-15 13:03:58 -04:00
Alexander Neff
d769bc9983
Rename no_print_result to silent and improve readability
2025-05-15 13:01:20 -04:00
Alexander Neff
951ad25d95
Improve readability of the download logic
2025-05-15 12:55:22 -04:00
Alexander Neff
dbfb0d8282
Formatting
2025-05-15 12:55:04 -04:00
Alexander Neff
2ec56d1432
Make sure we continue with other users when one user fails
2025-05-15 12:30:19 -04:00
Alexander Neff
6c68d41612
Formatting
2025-05-15 12:29:43 -04:00
Alexander Neff
6d5ce45422
Move remote_ops.finish to end so we have the remoteops available
2025-05-15 12:29:06 -04:00
Alexander Neff
6bee36f2af
Formatting
2025-05-15 12:12:55 -04:00
Alex
f7f343e0eb
Merge branch 'main' into SMB]-Add-the-recyclebin-module
2025-05-15 18:10:37 +02:00
Alexander Neff
6a7871e57e
Formatting
2025-05-15 11:56:30 -04:00
Alexander Neff
c8849ea062
Fix SyntaxWarnings due to regex
2025-05-15 11:24:03 -04:00
Alex
2b5968f2b6
Merge branch 'main' into main
2025-05-15 17:20:01 +02:00
Mickey De Baets
31995e0c67
Merge branch 'main' into main
2025-05-15 16:52:50 +02:00
Alex
4f028ea9b8
Merge pull request #686 from Pennyw0rth/neff-fix-mssql-module
...
Automatically preserve state of "advanced options" on the target
2025-05-13 19:32:30 +02:00
Alexander Neff
4d8583e443
Remove boilerplate
2025-05-13 13:25:22 -04:00
Alexander Neff
5d3955b6bc
Formating
2025-05-13 13:10:59 -04:00
Alexander Neff
859553fb33
Automatically preserve state of "advanced options" on the target
2025-05-13 13:06:40 -04:00
Xed
02b1361c85
Merge branch 'main' into drop_library_ms
2025-05-12 10:16:57 +02:00
Alex
b243ee8748
Merge pull request #682 from Pennyw0rth/neff-ldap-disable-signing
2025-05-10 12:00:00 +02:00
Alex
35c39c1c8e
Merge pull request #681 from Pennyw0rth/neff-fix-db-schema
...
Add a check if the database scheme contains the unique attribute
2025-05-09 17:58:10 +02:00
Alexander Neff
68367ef529
Disable signing in ldap temporarely
2025-05-09 10:33:33 -04:00
Alexander Neff
f335cd7654
Formatting
2025-05-09 10:21:20 -04:00
Alexander Neff
94115123f6
Add a check if the database scheme contains the unique attribute
2025-05-09 10:19:21 -04:00
emre
9f9ed93e7f
Update presence.py
2025-05-09 01:36:05 +03:00
Mickey De Baets
5c7888c416
Added share exclusion functionality
...
Added --exclude-shares arg to not scan shares (e.g., ADMIN$ and C$) for OPSEC improvement
2025-05-08 22:07:26 +02:00
Adam Hassan
b2a450916b
Merge branch 'main' into rdp-exec
2025-05-07 23:12:30 -04:00
termanix
c87d0c206b
integrated enum_trusts
2025-05-07 15:06:44 -04:00
termanix
602498f09c
Merge branch 'Pennyw0rth:main' into dc-list
2025-05-07 13:46:56 -04:00
mpgn
413e5eb51a
Merge pull request #662 from Pennyw0rth/cleanup
...
remove old server code unused
2025-05-07 17:16:45 +02:00
Alex
3209e523a5
Merge pull request #677 from Pennyw0rth/neff-fix-ldap-kerb-dom-trust
...
Fix domain trust with kerberos in ldap
2025-05-07 17:12:20 +02:00
Alexander Neff
7bda89661b
Remove unused variable
2025-05-07 11:11:52 -04:00
Alexander Neff
abda35be65
Remove on_shutdown in connection.py
2025-05-07 11:09:48 -04:00
Alexander Neff
7cd990f920
Remove old module server stuff
2025-05-07 11:06:32 -04:00
Alexander Neff
4d68843057
Remove on_shutdown from modules
2025-05-07 10:56:47 -04:00
Alexander Neff
a12c6422ce
Fix domain trust with kerberos in ldap
2025-05-07 10:40:17 -04:00
mpgn
196d9fa6d9
Merge branch 'main' into cleanup
2025-05-07 16:09:37 +02:00
mpgn
5efa2c3299
Update example_module.py
...
Signed-off-by: mpgn <[email protected] >
2025-05-07 16:09:17 +02:00
mpgn
5b6d00ed90
Update connection.py
...
Signed-off-by: mpgn <[email protected] >
2025-05-07 16:08:21 +02:00
Adam Hassan
5930d2d9af
exit cmd.exe after running commands
2025-05-07 03:03:14 -04:00
Adam Hassan
03c52432b5
remove erroneous vars and code relating to old no-output argument
2025-05-07 03:02:29 -04:00
Adam Hassan
6659976b25
remove no-output argument bc no output from rdp via screen
2025-05-07 02:58:08 -04:00
Adam Hassan
e1f84377ac
remove codec argument bc no output from rdp via screen
2025-05-07 02:57:09 -04:00
Adam Hassan
05492ff6a1
add new e2e commands for rdp execute
2025-05-07 02:52:40 -04:00
Adam Hassan
7ec74ddb05
screenshot before exit when executing commands via rdp
2025-05-07 02:44:40 -04:00
Adam Hassan
9a12116be3
cmd.exe now working and win+r used to open terminal
2025-05-07 02:17:13 -04:00
Adam Hassan
767e26e6e2
powershell over rdp mostly working with aardwolf
...
cmd not working atm
TODO: Figure out best way to start terminal
TODO: Add --screenshot functionality to see command output
2025-05-07 01:21:40 -04:00
Adam Hassan
e56e97c578
add initial execute_cmd using aardwolf keyboard
2025-05-07 00:40:42 -04:00
Adam Hassan
7531bf62d5
add initial rdp exec code based on winrm
2025-05-07 00:26:38 -04:00
Xed
81d07952b9
Merge branch 'main' into drop_library_ms
2025-05-05 19:52:55 +02:00
termanix
7fdca67833
Merge branch 'main' into dc-list
2025-05-05 08:29:05 -04:00
termanix
171c79fde1
Merge branch 'main' into notepad
2025-05-05 08:27:24 -04:00
Alex
c19841398f
Merge pull request #512 from KriyosArcane/main
...
New change-password module.
2025-05-04 12:06:31 +02:00
termanix
a083405335
Merge branch 'Pennyw0rth:main' into dc-list
2025-05-04 04:07:26 -04:00
FaganAfandiyev
f3f27976cf
Add e2e_commands.txt tests
2025-05-03 17:33:20 -04:00
Alexander Neff
887ecdd8a7
Refined options examples and formating
2025-05-03 17:26:52 -04:00
Alexander Neff
5f34e563b6
Refactor change-password module to allow set NEWNTHASH
2025-05-03 17:22:05 -04:00
Alex
6aa7d6a114
Merge pull request #668 from Dfte/main
...
Upgrade the schtask_as module so that we can upload binaries and execute them
2025-05-03 19:22:41 +02:00
Alexander Neff
bb36b6d5e6
Only right trim to preserve indentation on certain output
2025-05-03 13:20:08 -04:00
Alexander Neff
362d373c21
Add examples to options and formating
2025-05-03 13:18:28 -04:00
mpgn
a47431cbfd
fix hostname info if no ntlm
2025-04-29 14:20:16 +02:00
mpgn
3ff6479795
better output
2025-04-29 08:41:09 +02:00
mpgn
cc09aefbb9
more simple code
2025-04-29 01:03:17 +02:00
mpgn
2e254396b5
simple update
2025-04-29 00:41:53 +02:00
mpgn
8b2135a7b1
simple update
2025-04-29 00:40:24 +02:00
mpgn
1452068944
simple update
2025-04-29 00:39:37 +02:00
mpgn
9dc029847a
fix ldap simple auth
2025-04-29 00:12:19 +02:00
Alex
9890316802
Merge pull request #669 from Pennyw0rth/neff-update-pylnk3
2025-04-28 22:52:57 +02:00
Alexander Neff
f3e161597d
Update pylnk3 to remove debug print
2025-04-28 15:23:11 -04:00
Aurélien CHALOT
102213771f
Upgrade the schtask_as module so that we can upload binaries and then execute them
2025-04-28 14:30:09 +02:00
Xed
ba7d5223b8
Merge branch 'Pennyw0rth:main' into drop_library_ms
2025-04-28 05:00:33 +02:00
Alex
6a2874e804
Merge pull request #667 from Pennyw0rth/neff-fix-mssql
2025-04-27 19:56:02 +02:00
Alexander Neff
207b7da461
Fix empty domain string
2025-04-27 13:17:56 -04:00
Alexander Neff
6dcbb02a02
Use process password for kerb login failure
2025-04-27 11:55:27 -04:00
Alexander Neff
6bf72192c4
Formating
2025-04-27 11:53:51 -04:00
Alexander Neff
5e9e06b1a1
Formating
2025-04-27 10:10:10 -04:00
Alexander Neff
17ef18edd0
Formating and logging change
2025-04-27 10:06:05 -04:00
Alexander Neff
0be367b8aa
Improve options
2025-04-27 10:05:52 -04:00
Alexander Neff
059d241727
Restrict returning true on STATUS_PASSWORD_MUST_CHANGE to only the module
2025-04-27 10:05:15 -04:00
Alex
f5dc9ea8c6
Merge pull request #665 from Pennyw0rth/neff-fix-pfs-win
...
Fix pfx output path on windows
2025-04-27 14:58:15 +02:00
Alex
b35e1956af
Don't replace C: in the path
2025-04-27 14:39:26 +02:00
Xed
29ced36cde
Merge branch 'main' into drop_library_ms
2025-04-27 13:28:02 +02:00
termanix
a517be8355
Merge branch 'Pennyw0rth:main' into dc-list
2025-04-27 06:26:38 -04:00
mpgn
47b54c838e
fix ruff
2025-04-27 10:19:14 +02:00
mpgn
fad24dbb42
Merge branch 'main' into cleanup
2025-04-27 10:18:25 +02:00
mpgn
fd86652121
more clean
2025-04-27 10:17:52 +02:00
mpgn
848da44f75
Merge pull request #663 from Pennyw0rth/ippsec_video
...
Fix bunch of stuff from ippsec and 0xdf writeup for vintage box
2025-04-27 10:13:50 +02:00
termanix
b7b454e725
Update ldap.py
...
Signed-off-by: termanix <[email protected] >
2025-04-27 07:55:47 +03:00
termanix
b8dfb52802
took the old branch, it was fixed.
...
Signed-off-by: termanix <[email protected] >
2025-04-27 07:49:27 +03:00
termanix
981ad11b86
Merge branch 'main' into dc-list
...
Signed-off-by: termanix <[email protected] >
2025-04-27 00:46:47 -04:00
termanix
e993fbd0fc
Refactored to enforce direct attribute access, preventing misleading classifications and improving error handling.
2025-04-27 00:36:33 -04:00
termanix
c1a0f140e1
Thought, would implement it with netlogon but not have time for now, maybe later lol
2025-04-27 00:36:33 -04:00
Alexander Neff
23769d7755
Remove unnecessary try&except block and display trust domains we are skipping
2025-04-27 00:36:33 -04:00
Alexander Neff
bab540d734
Add missing trust_type_text value, ref: MS-ADTS
2025-04-27 00:36:33 -04:00
termanix
3af68e3f9d
Now check trusted domains DCs
2025-04-27 00:36:33 -04:00
Alex
9196c3216a
Fix pfx output path on windows
2025-04-27 02:03:44 +02:00
Alex
c34c581b0f
Merge pull request #658 from nikaiw/fix_host_duplicate
...
Update database.py
2025-04-27 01:35:59 +02:00
Alex
e61799ad9c
Merge pull request #660 from n00py/patch-1
...
Added more AV Signatures
2025-04-27 01:35:42 +02:00
mpgn
26588a490e
fix ruff
2025-04-27 00:36:30 +02:00
mpgn
d016fb61fd
make nxc compatible with bloodhound-ce
2025-04-27 00:35:16 +02:00
mpgn
61277c889b
fix ruff
2025-04-26 20:44:16 +02:00
mpgn
913a71314f
fix a bunch of stuff from vintage box on HTB
2025-04-26 20:43:35 +02:00
mpgn
15d100205b
fix ruff
2025-04-26 19:24:19 +02:00
mpgn
de4171e11e
remove old server code unused
2025-04-26 19:22:13 +02:00
n00py
d80c8e0b45
Update enum_av.py
...
Added a few more signatures for Trend Micro monitoring, one for Rapid7 Insight Agent, and some for Ivanti Security
Signed-off-by: n00py <[email protected] >
2025-04-25 13:30:26 -06:00
NK
02f4439680
Update database.py
...
Signed-off-by: NK <[email protected] >
2025-04-25 10:29:55 +02:00
NK
c5db5478d1
Update database.py
...
prevent duplicate host insert
Signed-off-by: NK <[email protected] >
2025-04-24 20:09:25 +02:00
XedSama
8b6df3494a
Fix NAME option and adding e2e tests
2025-04-24 14:05:31 +02:00
XedSama
34066da22b
Better description and new link for documentation
2025-04-24 13:28:51 +02:00
XedSama
54cadbd567
Fix encoding and xmlns property
2025-04-24 13:26:17 +02:00
XedSama
63e9e54e69
Uploading/Cleaning libms file on writable share
2025-04-24 13:13:17 +02:00
XedSama
745de4908a
Fix lms_name
2025-04-24 12:38:41 +02:00
emre
170efd36e9
Update rclone.py
2025-04-24 01:41:40 +03:00
XedSama
dc4030aad2
Basic module structure
2025-04-23 21:26:46 +02:00
emre
4440eb86d6
Create rclone.py
2025-04-23 19:47:04 +03:00
D4ytox
d51fc3f095
Fix . missing from classic path
2025-04-20 16:18:29 +01:00
D4ytox
46c16213f9
Remove the use of XDG_DATA_HOME
2025-04-20 15:17:28 +01:00
D4ytox
8deb2f9924
Use nxc as the folder name for XDG_DATA_HOME as well
2025-04-20 15:09:52 +01:00
D4ytox
0abadb062b
Make XDG_CONFIG_HOME append nxc afterwards and XDG_DATA_HOME append nxc_data
2025-04-20 15:03:12 +01:00
D4ytox
ff1ce969f9
Use XDG_CONFIG_HOME and XDG_DATA_HOME if set by user
2025-04-20 14:49:25 +01:00
Alex
9668cbce36
Merge pull request #650 from moscowchill/fix-windows-log-path-f332071
...
fix: Refactor output file path construction in SMB protocol
2025-04-20 02:08:29 +02:00
Marshall Hallenbeck
bc712c84ef
Merge branch 'main' into main
2025-04-19 09:13:52 -04:00
D4ytox
64cce9572f
Fix path imports to be grouped with other imports
2025-04-18 15:55:30 +01:00
moscowchill
a1a1be66ae
Refactor output file path construction in SMB protocol
...
- Updated the output file template to use os.path.join for improved OS compatibility.
- Enhanced readability by separating base log directory and filename pattern construction.
2025-04-18 07:02:24 -07:00
D4ytox
88997c33a8
Fix ruff findings
2025-04-18 14:37:35 +01:00
D4ytox
bf202a23f1
Merge the two import statements together
2025-04-18 14:31:14 +01:00
D4ytox
d40a1c84d2
Fix unecessary expand_user in context.py
2025-04-18 14:27:06 +01:00
D4ytox
5fc5922bf2
Use WORKSPACE_DIR in netexec.py
2025-04-18 14:17:32 +01:00
D4ytox
41a9345927
Use CONFIG_PATH in config.py
2025-04-18 14:17:32 +01:00
D4ytox
ca7408fd4d
Use TMP_PATH in smb.py
2025-04-18 14:17:32 +01:00
D4ytox
95c11aa434
Use NXC_PATH,CONFIG_PATH in context.py
2025-04-18 14:17:32 +01:00
D4ytox
5f25e25d26
Use NXC_PATH in spider_plus.py
2025-04-18 14:17:32 +01:00
D4ytox
4c515414e2
Use NXC_PATH in get_netconnections.py
2025-04-18 14:17:32 +01:00
D4ytox
dc00beab39
Use NXC_PATH in enum_dns.py
2025-04-18 14:17:32 +01:00
D4ytox
f16616eeb6
Use CONFIG_PATH in database.py
2025-04-18 14:17:32 +01:00
D4ytox
2e50996ae5
Use TMP_PATH in wmiexec.py
2025-04-18 14:17:32 +01:00
D4ytox
a3920da302
Use TMP_PATH in mmcexec.py
2025-04-18 14:17:32 +01:00
D4ytox
b8d5ede6f5
Use TMP_PATH in atexec.py
2025-04-18 14:17:32 +01:00
D4ytox
0e370152b8
Use NXC_PATH in wmi.py
2025-04-18 14:17:32 +01:00
D4ytox
038fe52e8c
Use NXC_PATH in winrm.py
2025-04-18 14:17:32 +01:00
D4ytox
4174dd9313
Use NXC_PATH in vnc.py
2025-04-18 14:17:32 +01:00
D4ytox
f295dcf5f5
Use NXC_PATH in rdp.py
2025-04-18 14:17:32 +01:00
D4ytox
d6e8cad817
Use NXC_PATH in ldap.py
2025-04-18 14:17:32 +01:00
D4ytox
fb7ca1dac0
Use TMP_PATH in keepass_trigger.py
2025-04-18 14:17:32 +01:00
D4ytox
314c3675ef
Use NXC_PATH in get-network.py
2025-04-18 14:17:32 +01:00
D4ytox
bc12c96492
Use NXC_PATH in protocolloader.py
2025-04-18 14:17:32 +01:00
D4ytox
7d08340d29
Use NXC_PATH in logger.py
2025-04-18 14:17:32 +01:00
D4ytox
d814e2cc2c
Use NXC_PATH in netexec.py
2025-04-18 14:17:31 +01:00
c4pit0ch3f
633cec1dc9
added support for LDAP simple auth
2025-04-17 15:08:11 +02:00
Alex
024ff0ab03
Merge pull request #645 from bandrel/nfs-fstring-bug
...
Update nfs.py
2025-04-14 14:58:31 -04:00
Alexander Neff
3ebec370ec
Add missing single quotes around slash
2025-04-14 14:50:30 -04:00
Justin Bollinger
bead78abae
Update nfs.py
...
fixed syntax error for fstring that was causing it to crash
Signed-off-by: Justin Bollinger <[email protected] >
2025-04-14 13:02:36 -04:00
Alex
5e08f53b72
Merge pull request #644 from Pennyw0rth/neff-fix-binary-workflow
...
Add missing Pillow package to binary workflow
2025-04-13 16:18:27 +02:00
Alexander Neff
0517c70e0e
Add missing Pillow package to binary workflow
2025-04-13 10:13:41 -04:00
Alex
806e4c73b2
Merge pull request #643 from Pennyw0rth/v1.4.0
...
Add CODENAME for release v1.4.0
2025-04-13 15:53:12 +02:00
Alexander Neff
a73624aa5c
Add CODENAME for release v1.4.0
2025-04-13 09:48:33 -04:00
Alex
af743bf517
Merge pull request #642 from Pennyw0rth/neff-parse-uuids
...
Add sid parsing directly to the ldap attribute parser
2025-04-13 14:05:22 +02:00
Alexander Neff
d5bd57dd94
Add sid parsing directly to the ldap attribute parser
2025-04-13 07:21:24 -04:00
Alex
6c30f3b611
Merge pull request #641 from exploide/completions
...
completions: no not complete options without entering `-` first
2025-04-13 13:18:00 +02:00
exploide
b0ccbba947
completions: no not complete options without entering - first
...
additionally, this commit makes activate-global-python-argcomplete work
2025-04-13 11:21:04 +02:00
Alex
0b1a4e452a
Merge pull request #640 from Pennyw0rth/neff-add-gmsa-readPrincipal
...
Add read principal to GMSA
2025-04-12 20:23:20 +02:00
Alexander Neff
47e40928b7
Add read principal of gmsa
2025-04-12 14:12:18 -04:00
Alex
bf37152d3f
Merge pull request #471 from termanix/patch-7
...
Update ldap.py for parse_result_attributes
2025-04-12 20:10:55 +02:00
Alexander Neff
5e400fb4b6
Fix GMSA account not showing for user without read privs
2025-04-12 12:32:35 -04:00
Alexander Neff
2540ca91b4
Refactor gmsa functions
2025-04-12 11:54:34 -04:00
Alexander Neff
a4931816d9
Replace create_conn_obj parsing
2025-04-12 08:38:07 -04:00
Alex
5509c6b018
Merge pull request #638 from Pennyw0rth/neff-fix-rid-brute
...
Catch rpc error nca_s_op_rng_error when method is not implemented
2025-04-12 14:32:03 +02:00
Alex
c9d9e49068
Merge pull request #639 from Pennyw0rth/neff-fix-desc-module
...
Fix encoding issue in get-desc-user
2025-04-12 14:31:55 +02:00
Alexander Neff
13c554bce5
Show only user objects with admincount
2025-04-12 08:17:19 -04:00
Alexander Neff
c5bf67abc0
Fix asreproast only returning one user
2025-04-11 21:16:17 -04:00
Alexander Neff
eae7ed544f
Use parsed resp for counting results
2025-04-11 21:10:25 -04:00
Alexander Neff
1dc56bfaca
Clean up --kerberos
2025-04-11 20:54:07 -04:00
Alexander Neff
92f4435b4b
Massively trim down logic of admin_count as most of it isn't used
2025-04-11 20:53:51 -04:00
Alexander Neff
c47df0842c
Massively trim down logic of password_not_required as most of it isn't used
2025-04-11 20:04:33 -04:00
Alexander Neff
373232dea9
Massively trim down logic of trusted_for_delegation as most of it isn't used
2025-04-11 19:55:24 -04:00
Alexander Neff
8b27ec57ae
Massively trim down logic of asreproast as most of it isn't used
2025-04-11 19:44:45 -04:00
Alexander Neff
09ec961d04
Linting
2025-04-11 19:21:18 -04:00
Alexander Neff
0dcc51b106
Make use of format strings and fix english
2025-04-11 19:21:05 -04:00
Alexander Neff
96eda79ab8
Merge branch 'main' into patch_ldap_parsing
2025-04-11 18:48:51 -04:00
Alexander Neff
9cb9fe7728
Fix encoding issue in get-desc-user
2025-04-11 17:17:18 -04:00
Alexander Neff
385715440c
Catch rpc error nca_s_op_rng_error when method is not implemented
2025-04-11 12:05:19 -04:00
Alex
5a786487b6
Merge pull request #637 from Pennyw0rth/neff-fix-ldap-hashauth
2025-04-10 10:34:06 +02:00
Alexander Neff
dcf7e97470
Fix ldap hash auth with signing enforced
2025-04-09 20:02:51 -04:00
Alex
8cad72623e
Merge pull request #636 from termanix/kerb-fix
2025-04-09 09:19:01 +02:00
Alexander Neff
47960d14c3
Move ccache check to enum_host to respect kdcHost logic (must stay empty in domain trust auth)
2025-04-08 18:31:11 -04:00
termanix
531b760fb6
Merge branch 'main' into kerb-fix
2025-04-08 15:40:29 -04:00
Alex
4e4dfae633
Merge pull request #633 from termanix/update-dpapi
...
SMB DPAPI Now Store Results, Issue #632
2025-04-08 21:37:35 +02:00
termanix
aa943aa08e
ccache as default and setted if self.args.domain
2025-04-08 15:08:57 -04:00
Alexander Neff
725b1df643
Replace hardcoded nxc path with NXC_PATH
2025-04-08 15:02:24 -04:00
Alexander Neff
652558309d
Move all lsa/sam/ntds/dpapi output files into seperate folders
2025-04-08 14:43:34 -04:00
termanix
b32f95bcbc
Takes domain value from ccache file Default principal
2025-04-08 14:02:51 -04:00
Alexander Neff
f6c22db7be
Remove null bytes from dpapi output
2025-04-08 09:33:29 -04:00
termanix
518f7d4078
ruff fix
2025-04-07 09:00:44 -04:00
Alex
27f58aee79
Merge pull request #634 from Pennyw0rth/neff-fix-ldap-baseDN
...
Fix the baseDN for admin_check for custom baseDN
2025-04-07 14:52:21 +02:00
Alexander Neff
7755d05431
Linting
2025-04-07 08:21:52 -04:00
Alexander Neff
a24e1327ac
Fix admin_check if a different baseDN was specified
2025-04-07 08:21:33 -04:00
termanix
13c02f4524
Saving dpapi results like sam, lsa, ntds, etc.
2025-04-07 07:59:18 -04:00
Alex
98062cb345
Merge pull request #630 from Pennyw0rth/neff-remove-firefox
...
Remove firefox module in favour of --dpapi which includes firefox
2025-04-03 21:03:56 +02:00
Alexander Neff
826dec4a89
Merge branch 'main' into neff-remove-firefox
2025-04-03 14:54:38 -04:00
Alexander Neff
d5737c61b1
Remove firefox module in favour of --dpapi which includes firefox
2025-04-03 14:48:54 -04:00
Alexander Neff
bcf6b37eaf
Use context manager for files and improve code
2025-04-03 14:41:55 -04:00
Alexander Neff
eb88dc5423
Rename ElementTree to ET for consistency
2025-04-03 14:41:29 -04:00
Alexander Neff
a4bdf2b174
Mostly ignore firefox because it will be removed anyway
2025-04-03 14:24:09 -04:00
Alexander Neff
2f63732f00
One liner return values and format strings
2025-04-03 14:23:43 -04:00
Alexander Neff
1520f3cbd4
Remove unnecessary code and format string
2025-04-03 14:02:29 -04:00
Alexander Neff
768a401019
Leaving as is for readability
2025-04-03 14:02:07 -04:00
Alexander Neff
4255cab29d
Adding exceptions for false positives
2025-04-03 13:57:22 -04:00
Alexander Neff
f386434ce5
Lint daclread
2025-04-03 13:49:54 -04:00
Alexander Neff
67abbf8bf3
Disable RUF052, these are considered private not dummy
2025-04-03 13:38:28 -04:00
Alexander Neff
542452accb
Apply C419, removing unnecessary list comprehensions
2025-04-03 13:26:38 -04:00
Alexander Neff
bde58c4e56
Apply SIM401, use .get() over 'x if x else y'
2025-04-03 13:19:08 -04:00
Alexander Neff
89233700b6
Disable A004, as it complains about sys.exit which supposes to be superior in programs
2025-04-03 13:16:43 -04:00
Alexander Neff
42538e4c89
Disable false positive
2025-04-03 13:16:13 -04:00
Alexander Neff
52008c1b25
Remove unnecessary cast to int
2025-04-03 12:30:38 -04:00
Alexander Neff
ae6721aa9a
Remove all FURB rules, makes code more complicated
2025-04-03 12:27:35 -04:00
Alexander Neff
a42c664326
Autofix with ruff
2025-04-03 12:22:06 -04:00
Alexander Neff
5782352622
Remove rule which converts 'x if x else y' and deletes unused variables
2025-04-03 12:19:38 -04:00
Alexander Neff
1289a0e025
Enable preview mode as recommended in our doc guidelines
2025-04-03 12:10:49 -04:00
Alexander Neff
dc415e75e4
Fixed string concatination that is only available in py3.12+
2025-04-03 12:04:21 -04:00
Alexander Neff
61e2e58e50
Fix UP031, remove percent string replacements
2025-04-03 12:01:33 -04:00
Alexander Neff
66e9927c3e
Fix UP031, remove percent string replacements
2025-04-03 11:57:47 -04:00
Alexander Neff
31373e4cac
Don't check for D413, missing-blank-line-after-last-section
2025-04-03 11:02:14 -04:00
Alexander Neff
f4ad70635a
Fix LOG015 and replace all calls to root logger
2025-04-03 11:01:27 -04:00
Alex
5a71b62acc
Merge pull request #628 from Pennyw0rth/neff-fix-exec-output
...
Fix left handside indent from exec output
2025-04-03 16:16:55 +02:00
Alexander Neff
2c29856d92
Update ruff settings declaration to reflect latest recommendations
2025-04-03 09:59:53 -04:00
Alexander Neff
b35cfe0671
Update ruff settings declaration to reflect latest recommendations
2025-04-03 09:46:28 -04:00
Alexander Neff
351979375b
Update ruff to latest version
2025-04-03 09:45:31 -04:00
Alexander Neff
d5978062ff
Allow linting pipeline to run on review submittions like the test pipeline
2025-04-03 09:27:03 -04:00
Alexander Neff
1248552ef8
Linting
2025-04-03 09:00:33 -04:00
Alexander Neff
ecad15e85a
Fix left handside indent from powershell output
2025-04-03 08:44:51 -04:00
Alex
6fcfb8d031
Merge pull request #450 from Dfte/SMB]-ADd-the-recent_files-module
...
[SMB] Add the recent_files module
2025-04-02 01:35:22 +02:00
Alexander Neff
f00c835c09
Merge branch 'main' into recent-files
2025-04-01 19:30:38 -04:00
Alexander Neff
0cdd60a60f
Add no options text
2025-04-01 19:21:05 -04:00
Alex
99fe618dbd
Merge pull request #625 from jdholtz/smb-cmdexec-improvements
...
smb: Prevent infinite loops handling an unknown error retrieving command output
2025-04-01 23:35:37 +02:00
Alex
677e25485b
Merge pull request #626 from noraj/patch-1
2025-04-01 00:53:58 +02:00
Alexandre ZANNI
2747f1efd8
remove pywerview from spec
...
Signed-off-by: Alexandre ZANNI <[email protected] >
2025-04-01 00:43:53 +02:00
jdholtz
3897ceeb0a
smb: Prevent infinite loops handling an unknown error retrieving command output
...
When an error like 'Broken pipe' occurs while trying to read the output
file from a command, the number of tries is not incremented, causing an
infinite loop fetching the output file (if this error keeps happening).
Now, the number of tries is incremented in this case. Also, the debug
messages were slightly improved to be more clear when failing to
retrieve output.
2025-03-31 11:38:34 -07:00
Alex
f31fb4f098
Merge pull request #622 from Pennyw0rth/neff-fix-winscp
...
Improve WinSCP module
2025-03-30 15:23:04 +02:00
Alexander Neff
a2b336d94a
Remove command execution to enumerate local users and improve error handling
2025-03-30 09:14:58 -04:00
Alex
4ae32a73cd
Merge pull request #602 from haytechy/output_users
2025-03-28 14:10:57 +01:00
Alexander Neff
37efce100a
Fix logic when checking if args where specified and improve help text
2025-03-27 20:02:43 -04:00
Alexander Neff
75eecab8ed
Convert --users-export to the same structure as in ldap
2025-03-27 19:52:48 -04:00
Alexander Neff
a449284d20
Fix logic for debug output when user is specified
2025-03-27 19:41:42 -04:00
Alexander Neff
4eae4a2dd8
Make help description more precise
2025-03-27 19:39:51 -04:00
Alexander Neff
718b9fe4b6
Change variable name for export path and display export info line only when specified
2025-03-27 19:38:02 -04:00
Alex
2d3e1be1ab
Merge pull request #620 from Pennyw0rth/spec-file
...
Fix spec file
2025-03-27 15:13:43 +01:00
Alex
a0aaf1ad12
Merge pull request #619 from Pennyw0rth/neff-fix-putty
...
Add Error handling for loading users into registry
2025-03-27 15:13:32 +01:00
Alex
3318fa8ea2
Merge pull request #615 from Testeur-2-stylos/fix-smbv1-nxcdb
...
Update smb.py to test smbv1 connection before writing in nxcdb
2025-03-27 15:10:57 +01:00
Alexander Neff
71cfd4b347
Move logoff above smbv1 check
2025-03-27 09:49:23 -04:00
Alexander Neff
9c8e6f43ca
Fix spec file
2025-03-27 09:40:46 -04:00
Alexander Neff
62ba3588ba
Add Error handling for loading users into registry
2025-03-27 09:21:18 -04:00
Testeur_2_stylos
45f899219c
Update smb.py to test smbv1 connection before writing in nxcdb
...
Signed-off-by: Testeur_2_stylos <[email protected] >
2025-03-26 10:16:54 +01:00
Kriyos
7b1f60d83d
Merge branch 'Pennyw0rth:main' into main
2025-03-24 19:41:56 -04:00
Alex
8d0b4e3e7b
Merge pull request #527 from lap1nou/fix-ldap-db
...
Added credential and host DB for LDAP protocol
2025-03-24 17:37:54 +01:00
Alexander Neff
52a28aa88d
Formating
2025-03-24 12:32:54 -04:00
Alexander Neff
ccf81517a4
Add db.add_creds for kerberos with SSL enforced
2025-03-24 12:23:50 -04:00
Alex
87a5c366df
Merge pull request #611 from shikatano/pre2k-passwd-length
...
modified the password used in pre2k.py for machine names longer than …
2025-03-24 17:11:04 +01:00
Lou
4cd4dbbd83
modified the password used in pre2k.py for machine names longer than 14 characters
2025-03-23 12:14:42 -04:00
lap1nou
6b0cfcdea8
Added db_navigator stuff
2025-03-22 17:20:23 +01:00
lapinou
7146824299
Merge branch 'Pennyw0rth:main' into fix-ldap-db
2025-03-21 23:46:05 +01:00
Marshall Hallenbeck
6de62472ef
Merge pull request #590 from Pennyw0rth/marshall-db-ip-fix
...
fix: check if an IP is being searched for when calling get_hosts
2025-03-21 10:48:50 -04:00
termanix
4fcc4fdce4
updated for killing notepad.exe process
2025-03-19 18:52:14 -04:00
termanix
7e23c1b318
e2e_commands.txt editted
2025-03-19 17:02:21 -04:00
termanix
4634473609
owner name
2025-03-19 16:56:53 -04:00
termanix
c2437b2b9b
New module add notepad
2025-03-19 16:47:23 -04:00
Marshall Hallenbeck
f4fa975d36
fix: check if the table uses ip or host for hosts before adding
2025-03-19 16:19:02 -04:00
Marshall Hallenbeck
166df14514
Merge branch 'main' into marshall-db-ip-fix
2025-03-19 15:46:39 -04:00
Alex
aa832c5f1a
Merge pull request #606 from jdholtz/ldap-timeout
...
Silently handle connection timed out during LDAP scan
2025-03-19 16:00:24 +01:00
Alexander Neff
0aeb105bd8
Add ENETUNREACH if the targeted network is not reachable
2025-03-19 10:49:33 -04:00
jdholtz
3fa2c746d6
Silently handle connection timed out during LDAP scan
2025-03-18 16:47:12 -07:00
mpgn
da8ef0f0fb
Merge pull request #604 from Pennyw0rth/ntlm
...
Add information if ntlm disabled
2025-03-18 16:34:13 +01:00
mpgn
87c223ed5e
Add information if ntlm disabled
2025-03-17 19:04:18 +01:00
mpgn
91c339ea30
Merge pull request #603 from Pennyw0rth/fix_host
...
fix 0x_df issue with hosts file
2025-03-17 16:48:10 +01:00
mpgn
0f1c2f933b
fix extra space
2025-03-17 15:55:33 +01:00
mpgn
450f1b2a89
fix extra space
2025-03-17 15:51:34 +01:00
mpgn
7723e74b30
fix 0x_df issue with hosts file
2025-03-17 15:40:56 +01:00
haytehcy
69baa8c133
Merge branch 'output_users' of https://github.com/haytechy/NetExec into output_users
2025-03-16 17:19:58 +00:00
haytehcy
7d8d1dbd2d
Changed writelines to write on new lines
2025-03-16 17:19:29 +00:00
Alex
0892e066e4
Merge branch 'Pennyw0rth:main' into output_users
2025-03-16 15:50:57 +00:00
Alex
ea77ad9a4e
Merge pull request #597 from Pennyw0rth/neff-bug-fixes
2025-03-16 11:16:27 +01:00
mpgn
cbcdf3acd3
Merge pull request #599 from Pennyw0rth/regsecret
2025-03-16 09:29:17 +01:00
haytehcy
8a35848474
Minor tweak/fixes to output users
2025-03-16 07:32:21 +00:00
Alexander Neff
1145cfe15f
Make bool check a bit more explicit
2025-03-15 20:02:38 -04:00
haytehcy
d6600d5f7c
Minor tweak/fixes
2025-03-15 23:36:12 +00:00
haytehcy
0acdbbe345
Added Users Export
2025-03-15 23:20:29 +00:00
mpgn
1fe387e8f9
Merge branch 'main' into regsecret
2025-03-15 23:01:05 +01:00
mpgn
613fd5e48e
fix ruff
2025-03-15 23:00:40 +01:00
mpgn
a727f0283f
Add choice to use old or new technique
2025-03-15 22:48:25 +01:00
Alex
b520fdf9f5
Merge pull request #601 from Pennyw0rth/neff-revert-speed-improvs
...
Revert #411 due to connection issues (#479 )
2025-03-15 17:48:06 +01:00
Alexander Neff
26c4847018
Revert #411 due to connection issues ( #478 , #479 ), possibly concurrency problems
2025-03-15 12:35:50 -04:00
Marshall Hallenbeck
f0602c7804
Merge branch 'main' into marshall-db-ip-fix
2025-03-15 11:47:28 -04:00
Alex
340bc60759
Merge pull request #594 from Mercury0/asreproast-DNS-patch
...
Use host IP for DNS resolution in asreproast function if kdcHost not specified
2025-03-15 16:15:14 +01:00
Alexander Neff
ae653c283b
Add fix from ea7e0925a1 to the ldap protocol
2025-03-15 11:09:14 -04:00
Alexander Neff
7162fd9c3d
Moved the fix for #592 to kerberoast class because otherwise user without password crashes without DNS
2025-03-15 11:08:35 -04:00
Alexander Neff
adb423ef09
Remove unused imports
2025-03-15 10:20:30 -04:00
mpgn
97703063b6
Add regsecretdump technique
2025-03-14 23:17:33 +01:00
Marshall Hallenbeck
95ae5deb27
Merge branch 'main' into marshall-db-ip-fix
2025-03-14 10:12:46 -04:00
Alexander Neff
c4bf023032
Improve logging output of --shares
2025-03-14 13:22:16 +01:00
Alexander Neff
493b12e1fb
Fix get-unixUserPassword/get-userPassword modules which sometimes does not retrieve all users with these attributes
2025-03-14 11:33:38 +01:00
Alexander Neff
d343e212cd
Fix NFS indent for share listing
2025-03-13 14:41:54 +01:00
Alexander Neff
c2cb7521df
Fix ldap query output for output containing special chars, e.g. german äöü
2025-03-13 14:41:27 +01:00
Alexander Neff
98c4b15781
Fix wcc wsus check
2025-03-13 14:40:34 +01:00
Alexander Neff
36e4f4fb66
Set nfs timeout to 5 seconds
2025-03-11 14:52:27 +01:00
Alexander Neff
2621dcad02
If mount error still list share with available infos
2025-03-11 14:51:35 +01:00
Fox
725c96f57a
Use host IP for DNS resolution for asreproasting
2025-03-10 09:05:40 -07:00
Alexander Neff
fff8d09d2a
If len(val_list) is zero val_list[0] will crash, this will now return the empty list
2025-03-10 16:04:41 +01:00
crosscutsaw
e551d3e006
Update enable_cmdshell.py
...
Signed-off-by: crosscutsaw <[email protected] >
2025-03-09 22:07:51 +03:00
mpgn
f8293d156b
Merge pull request #579 from Pennyw0rth/remove_pywerview
...
Remove pywerview dependency
2025-03-09 11:25:42 +01:00
Alexander Neff
84dbe26bd6
Change wording to REMOVED as it actually is removed
2025-03-08 20:54:59 -05:00
Alexander Neff
f7c6f20ba7
Sort member output by sid for better alignment
2025-03-08 20:49:45 -05:00
Alexander Neff
93446a593f
Add Exception handling when we get rpc_access_denied
2025-03-08 20:17:51 -05:00
Alexander Neff
ddc00c97da
Raise exception on rpc_access_denied so it doesnt crash later for unkown reasons, use provided logger instead of nxc_logger
2025-03-08 20:16:47 -05:00
mpgn
0129b43a82
add poetry.lock
2025-03-08 22:40:30 +01:00
mpgn
25e7529a7c
remove pywerview from pyproject
2025-03-08 22:36:23 +01:00
mpgn
d279bb8ad1
fix ruff
2025-03-08 22:34:03 +01:00
mpgn
402ef37d02
Merge branch 'main' into remove_pywerview
...
Signed-off-by: mpgn <[email protected] >
2025-03-08 22:30:58 +01:00
mpgn
a45ba3b0fc
add local enumeration members on local group
2025-03-08 22:25:48 +01:00
Marshall Hallenbeck
9259825d36
Merge branch 'main' into marshall-db-ip-fix
2025-03-08 12:48:07 -05:00
Alexander Neff
ec8abe6c6c
Formating
2025-03-08 11:45:53 -05:00
Alex
0063ec0995
Merge pull request #574 from n3rada/main
...
Fix Poetry 2.1+ compatibility in `pyproject.toml`
2025-03-08 17:36:39 +01:00
Alexander Neff
c7f28f5363
Remove poetry version lock in tests and remove duplicate poetry installation
2025-03-08 11:30:04 -05:00
Alexander Neff
875bf28b8b
Remove unused packages
2025-03-08 10:49:19 -05:00
Alexander Neff
573a23c45a
Pin pywerview to 0.3.3
2025-03-08 10:37:16 -05:00
Alexander Neff
ed793d7883
Readd comments
2025-03-08 10:24:53 -05:00
Alexander Neff
e87489f8ca
Add commit 'distance' to version
2025-03-08 10:13:39 -05:00
Alex
23f4e63b65
Merge pull request #591 from Pennyw0rth/neff-patch-1
...
Catch ldap error if host is not reachable
2025-03-08 15:44:21 +01:00
Alex
6135e12cdb
Merge pull request #464 from Dfte/Add---remoteuac-module
...
Create remote-uac.py
2025-03-08 15:42:54 +01:00
Alexander Neff
dafc28a8c6
Catch ldap error if host is not reachable
2025-03-08 09:33:20 -05:00
Alexander Neff
62afd52961
Add option text
2025-03-08 09:17:11 -05:00
Alexander Neff
446bb30be3
Formating
2025-03-08 09:11:52 -05:00
Alexander Neff
02616525ca
Rename module
2025-03-08 09:11:31 -05:00
Alex
7e1537b935
Merge branch 'main' into Add---remoteuac-module
2025-03-08 15:06:53 +01:00
Alexander Neff
7d80a3fceb
Change deprecated output to fail
2025-03-08 08:19:19 -05:00
Alexander Neff
82002a7c3b
Deprecate --loggeon-users-filter and spelling fix
2025-03-08 08:14:24 -05:00
Alexander Neff
bb838c75e2
Apply filter by specifying a user for --loggedon-users arg
2025-03-08 08:09:57 -05:00
Marshall Hallenbeck
5889e55906
fix: check if an IP is being searched for when calling get_hosts in db calls; fixes #589
2025-03-07 20:02:45 -05:00
Alex
c1e1205a9a
Merge pull request #588 from Pennyw0rth/neff-patch-1
2025-03-07 16:39:16 +01:00
Alexander Neff
d0a4be4447
Move connection error to info instead of fail similar to smb etc
2025-03-07 10:27:25 -05:00
Alexander Neff
d214067218
Fix exception when it is not possible to list share
2025-03-07 10:18:05 -05:00
zblurx
e68cc41906
Merge pull request #587 from Mercury0/ldap-checker-refactor
...
Improve reliability of ldap-checker module
2025-03-07 14:49:45 +01:00
n3rada
d43b861533
Remove poetry.toml
2025-03-07 10:56:36 +01:00
Fox
a91761a755
Improve reliability of ldap-checker module
2025-03-06 14:03:06 -08:00
Alex
9161b29e90
Merge pull request #570 from Pennyw0rth/neff-fix-veeam-output
2025-03-04 06:59:40 -05:00
Mauriceter
bff20dff79
Merge branch 'Pennyw0rth:main' into sccm-winreg
2025-03-04 12:35:32 +01:00
Mauriceter
2e634750db
Delete nxc/modules/wds.py
...
Signed-off-by: Mauriceter <[email protected] >
2025-03-04 11:39:37 +01:00
Joachim De Bats
f41f80d98f
module recon sccm with winreg
2025-03-04 11:18:12 +01:00
Alexander Neff
d201e4047e
Fix --groups for groups without users or only one user
2025-03-03 20:18:59 -05:00
Alexander Neff
9203a5817c
Remove dead code that was used by --users and --computers
2025-03-03 20:01:01 -05:00
Alexander Neff
0a5c1fd698
Add --computers from smb to ldap
2025-03-03 19:58:57 -05:00
Alexander Neff
fc6e34ef76
Deprecate group-mem module
2025-03-03 19:45:56 -05:00
Alexander Neff
24cdf8d604
Add possibility to enumerate group members via ldap
2025-03-03 19:39:47 -05:00
Alexander Neff
6e390e8957
Add deprecated label so it is easier to find when we remove deprecated stuff
2025-03-03 19:12:24 -05:00
Alex
674fe5ed88
Merge pull request #584 from Pennyw0rth/neff-nfs-escape-to-rootfs
...
Small bug fixes for NFS
2025-03-03 18:59:32 -05:00
Alexander Neff
8aec485b79
Formating
2025-03-03 18:41:38 -05:00
Alexander Neff
4a696dff7e
Fix bug if file has other permissions than the directory. Also better error handling
2025-03-03 17:20:05 -05:00
Alexander Neff
19ba129350
Fix bug if upload target dir is root point
2025-03-03 17:19:23 -05:00
Alex
9768568b65
Merge pull request #583 from Pennyw0rth/neff-nfs-escape-to-rootfs
...
NFS escape to root fs
2025-03-03 12:37:37 -05:00
Alexander Neff
9e44b7f1ed
Better english
2025-03-03 10:11:04 -05:00
Alexander Neff
5f533f2c8f
More UID/GID updates and clean up
2025-03-03 10:07:30 -05:00
Alexander Neff
13a6653503
Remove unused import
2025-03-02 18:45:36 -05:00
Alexander Neff
df4e992c52
Add root_escape for --get-file and --put-file
2025-03-02 18:43:35 -05:00
Alexander Neff
67ce02eae7
Clean up and comments
2025-03-02 13:17:11 -05:00
Alexander Neff
434b0f4b80
Fix for items that are not resolved by the readdirplus call
2025-03-02 13:15:09 -05:00
Alexander Neff
9e4366f97f
Add implementation for 'ls'
2025-03-02 12:59:52 -05:00
Alexander Neff
de95d01c64
Add check for root escape
2025-03-02 10:14:17 -05:00
mpgn
0814931cf0
Merge branch 'main' into remove_pywerview
2025-03-02 14:20:56 +01:00
Alexander Neff
d87c379ac5
NFS root escape automated for each share
2025-02-27 19:27:53 -05:00
Alexander Neff
d1f7db656b
Merge branch 'main' into neff-nfs-escape-to-rootfs
2025-02-27 17:35:50 -05:00
Alexander Neff
4571f93dce
Working on nfs root escape
2025-02-27 17:35:48 -05:00
Alex
253f797f58
Merge pull request #580 from Pennyw0rth/neff-patch-1
...
Linting
2025-02-26 23:51:34 +01:00
Alexander Neff
5da61176b4
Linting
2025-02-26 17:46:23 -05:00
Alex
1ade4d6702
Merge pull request #445 from Dfte/SMB]-Add---qwinsta-and---tasklist-options
...
[SMB] Add the --qwinsta and --tasklist options
2025-02-26 23:32:27 +01:00
mpgn
45ea1de213
add poetry.lock
2025-02-26 23:02:48 +01:00
mpgn
0083554cca
ruff fix
2025-02-26 23:00:51 +01:00
mpgn
4cc5d87d12
remove smb-session option
2025-02-26 23:00:13 +01:00
mpgn
ae684bf0df
rework smb function to remove pywerview dependency
2025-02-26 22:52:21 +01:00
Alexander Neff
ca5a076f1e
Add IPv4 to qwinsta output
2025-02-26 16:09:41 -05:00
Alexander Neff
53b42df414
Add IPv4 to qwinsta output
2025-02-26 13:53:08 -05:00
Alexander Neff
74e6aa03c1
Pass local object to functions istead of using a class variable, alread in use
2025-02-26 12:54:51 -05:00
n3rada
47bb14680a
Fix auto version
2025-02-26 18:39:03 +01:00
Alex
2343ddf62a
Merge pull request #577 from Pennyw0rth/neff-patch-1
...
Rename ambigous function
2025-02-26 18:33:21 +01:00
Alexander Neff
c9111968e2
Also rename the arg lol
2025-02-26 12:05:34 -05:00
Alexander Neff
6c807b283c
Rename ambigous function
2025-02-26 11:51:12 -05:00
Alexander Neff
23de82520f
Add missing kerberos parameter
2025-02-26 11:28:57 -05:00
Alex
80f00af37d
Merge pull request #576 from Pennyw0rth/neff-patch-1
...
Fix ASCII Art
2025-02-26 17:17:03 +01:00
Alexander Neff
724401af7a
Formating
2025-02-26 11:15:56 -05:00
Alexander Neff
98c92077cc
Replace single quote with double quote
2025-02-26 11:14:40 -05:00
Alexander Neff
cb76ad8ded
Fix ASCII Art
2025-02-26 09:32:03 -05:00
n3rada
7688320925
Updating poetry.lock and pyproject.toml
2025-02-26 09:55:42 +01:00
Alex
c97e562bcc
Merge pull request #575 from Mercury0/powershell_history_fix
...
Refactored powershell_history module to fix case sensitivity
2025-02-26 09:40:58 +01:00
Alexander Neff
6120249dd0
Simplify code
2025-02-26 03:36:22 -05:00
Fox
b14830f17a
Refactored powershell_history module to fix case sensitivity
2025-02-25 14:25:30 -08:00
n3rada
f79a652723
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:26:48 +01:00
n3rada
384eb30cdd
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:25:15 +01:00
n3rada
7b44298e21
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:24:54 +01:00
n3rada
dd72ee377d
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:23:15 +01:00
n3rada
f6c376df17
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:21:52 +01:00
n3rada
e50bf7e686
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:21:07 +01:00
n3rada
8a9e9a164c
Update pyproject.toml
...
Signed-off-by: n3rada <[email protected] >
2025-02-25 17:19:21 +01:00
Alex
a53a1ce865
Merge pull request #573 from Pennyw0rth/zblurx-fix-ldap-checker
...
LDAP checker fix when checking without creds
2025-02-25 15:04:23 +01:00
zblurx
2d21f4d7a6
LDAP checker fix when checking without creds
2025-02-25 12:40:13 +01:00
Alexander Neff
ad6c385493
Typo
2025-02-23 13:14:06 -05:00
Alex
307aa248cb
Merge pull request #571 from Pennyw0rth/neff-fix-py3.13
2025-02-21 10:26:54 +01:00
Alexander Neff
1911ca9e51
Update impacket and pynfsclient
2025-02-20 18:36:51 -05:00
Alexander Neff
c6c1c2f14e
Update github workflows to py3.13
2025-02-20 18:35:43 -05:00
Alexander Neff
4ffdbde343
Fix python 3.13 logging issue
2025-02-20 18:34:06 -05:00
emre
dc2a262598
Update presence.py
...
bugfix
2025-02-20 20:31:06 +03:00
Alex
bba9e72530
Merge pull request #568 from jdholtz/smbexec-timeout
...
[smb] Always delete output file
2025-02-19 23:57:49 +01:00
Alexander Neff
342a13021b
Bug fixes and output formating
2025-02-19 14:38:13 -05:00
Alexander Neff
3235b1d9df
Add description to output
2025-02-19 13:53:24 -05:00
Alexander Neff
c60141f38b
Correct spelling
2025-02-19 13:06:59 -05:00
Alexander Neff
18f7033acd
Add salted dpapi decryption for latest veeam installations
2025-02-19 13:06:37 -05:00
Alex
bb8f92092d
Merge pull request #569 from Pennyw0rth/neff-patch-1
2025-02-19 01:37:21 +01:00
Alexander Neff
0cc9a452f2
Add exception handling for NetBIOSTimeout Exceptions
2025-02-18 12:26:00 -05:00
Alexander Neff
39f1309ff2
Formating
2025-02-18 10:29:49 -05:00
Alexander Neff
1476373519
Change output path from temp to nxc folder
2025-02-18 10:25:43 -05:00
Alexander Neff
4de3f32629
Add exception handling for listing a single folder
2025-02-18 10:24:14 -05:00
jdholtz
1d4b4cbc60
[smb] Always delete output file
2025-02-16 22:56:17 -08:00
Alex
c2f85db63b
Merge pull request #565 from Pennyw0rth/neff-patch-1
2025-02-12 00:15:38 +01:00
Alexander Neff
5e14baee44
Fix #564
2025-02-11 18:00:08 -05:00
emre
a053462e8c
Create presence.py
...
high privilege smb module that traces domain level admin presences in target
2025-02-09 13:03:56 +03:00
Alex
8046495d3f
Merge pull request #560 from Pennyw0rth/neff-patch-1
...
Fix hardcoded option
2025-02-09 02:07:06 +01:00
Marshall Hallenbeck
c0fc42ba26
Merge branch 'main' into neff-patch-1
2025-02-08 20:04:56 -05:00
Alexander Neff
5969756b35
Fix hardcoded option to arg
2025-02-08 19:59:50 -05:00
Alex
ab34ca7577
Merge pull request #441 from termanix/patch-6
...
Update users and active-users against anonymous ldap authentication
2025-02-09 00:24:59 +01:00
Alexander Neff
f282ca7dae
Fix format string
2025-02-08 18:21:34 -05:00
Alex
449ce2468f
Merge branch 'main' into patch-6
2025-02-08 23:35:42 +01:00
Alexander Neff
d5b5ec9d86
Replace user disabled value with constant
2025-02-08 17:25:45 -05:00
Alexander Neff
c7a08866f4
Formating
2025-02-08 17:18:38 -05:00
Alexander Neff
45e5e4c3e8
Improve readability
2025-02-08 17:17:57 -05:00
Alexander Neff
b5b9f07575
Simplify logic
2025-02-08 17:08:52 -05:00
Alexander Neff
310cc9b333
Improve readability
2025-02-08 16:10:56 -05:00
mpgn
f46f63b86d
Merge pull request #537 from Pennyw0rth/backup_operator
...
Add Backup operators module
2025-02-08 18:32:01 +01:00
Alexander Neff
f3ebe6b781
Fix detection if SAM/SYSTEM/SECURITY were deleted
2025-02-08 09:14:43 -05:00
Alexander Neff
f6cd501eed
Fix imports and don't force quit
2025-02-08 08:33:29 -05:00
Alexander Neff
d8020bba2b
Add Kerberos support and comments
2025-02-08 08:20:32 -05:00
emre
619e477c1f
Create enable_cmdshell.py
...
high privilege module that enables or disables xp_cmdshell in mssql server
2025-02-08 15:44:15 +03:00
emre
fa3eba48df
Update dump-computers.py
...
made some adjustments for better experience
2025-02-08 14:34:04 +03:00
emre
25ac2e2a2a
Update dump-computers.py
...
added fqdn only
2025-02-07 16:56:13 +03:00
emre
8c37f34ace
Create dump-computers.py
...
ldap module
2025-02-07 12:50:50 +03:00
mpgn
78c08dfb6d
Merge pull request #552 from jdholtz/smbexec-delete-service
...
[smb] Always delete service when using smbexec
2025-02-03 08:03:13 +01:00
Alex
9e1643610c
Merge pull request #541 from termanix/update-exe-nxc-data
...
Updated exe files while putting for evasion
2025-02-03 00:45:14 +01:00
Alexander Neff
97fb011169
Simplify code
2025-02-02 18:41:35 -05:00
Alex
3f06ea9812
Merge pull request #542 from termanix/fix-dump-files-deleting
...
Fix lsass Dump Files Deleting Process When Dump Fail
2025-02-03 00:31:57 +01:00
Alexander Neff
f87535ee3a
Lint
2025-02-02 18:18:12 -05:00
Alexander Neff
cb6cef60e8
Increase readability and don't force quit on error
2025-02-02 18:13:20 -05:00
Alexander Neff
7d918e403b
Increase readability
2025-02-02 18:11:09 -05:00
Alexander Neff
056b69a92c
Lint
2025-02-02 18:10:01 -05:00
Alexander Neff
34063e3410
Increase readability
2025-02-02 18:09:30 -05:00
Alex
6a6fa94800
Merge pull request #553 from termanix/ruff-fix
2025-02-02 17:50:20 +01:00
termanix
643519ddc1
ruff fixed f-string without any placeholders
2025-02-02 11:41:30 -05:00
jdholtz
7f43b4a4dd
[smb] Wrap the service deletion in a separate try/except block
2025-01-30 10:18:14 -08:00
jdholtz
d6445d553e
[smb] Always delete service when using smbexec
2025-01-29 12:24:56 -08:00
mpgn
c904f3aa81
Merge pull request #547 from Joytide/main
...
Fix: privileged groups SID not found error
2025-01-26 22:14:39 +01:00
Joytide
34f6ce2580
Added debug output on lack of default privileged RID
2025-01-26 02:48:09 +01:00
lap1nou
93a7bd6c7d
Added get_credentials and get_crdential function for LDAP protocol
2025-01-23 22:34:15 +01:00
lapinou
30166dd418
Merge branch 'Pennyw0rth:main' into fix-ldap-db
2025-01-23 21:42:04 +01:00
Joytide
8309947719
Fix: privileged groups SID not found error
2025-01-23 16:11:33 +01:00
termanix
e5e750d897
Updated for procdump, handlekatz and procdump either
2025-01-23 03:41:01 -05:00
termanix
49220a323d
Merge branch 'Pennyw0rth:main' into update-exe-nxc-data
2025-01-22 14:30:58 -05:00
termanix
84d896e22a
Merge branch 'Pennyw0rth:main' into fix-dump-files-deleting
2025-01-22 14:30:41 -05:00
Alex
6ce260fca1
Merge pull request #546 from Pennyw0rth/neff-patch-1
...
Swap cert-pem to pem-cert to match pfx syntax
2025-01-22 13:39:35 +01:00
Alexander Neff
80f528c160
Swap cert-pem to pem-cert to match pfx syntax
2025-01-22 07:33:19 -05:00
mpgn
9511ca2b3b
Merge pull request #544 from Pennyw0rth/krb5
...
Add option generate-krb5-file for krb5 configuration
2025-01-18 22:45:45 +01:00
mpgn
a9412abeac
Merge branch 'main' into backup_operator
2025-01-18 21:46:56 +01:00
mpgn
dd27cc48f0
Merge branch 'main' into krb5
2025-01-18 21:40:59 +01:00
Alex
ed89236e12
Merge pull request #545 from Pennyw0rth/ruff2
...
fix ruff
2025-01-18 21:34:09 +01:00
mpgn
29d94f9baa
add test
2025-01-18 19:31:37 +01:00
mpgn
e10756a973
add krb5 conf file option for smb
2025-01-18 19:28:19 +01:00
mpgn
8d9b7eede3
fix ruff
2025-01-18 18:36:57 +01:00
mpgn
7bb58133b0
Merge pull request #379 from nikaiw/module_dpapihash
...
Add dpapi hash module based on the work of @fist0urs
2025-01-18 15:44:15 +01:00
mpgn
da3ad306e8
fix review
2025-01-18 14:15:23 +01:00
termanix
dd6c62e8c2
Delete funciton created with same as nanodump and handlekatz
2025-01-16 05:18:39 -05:00
termanix
fdb1a7993a
Fix lsass dump files deleting process when dump fail
2025-01-16 05:12:46 -05:00
termanix
675975e614
Fix procdump deleting when lsass dump fail
2025-01-16 04:46:43 -05:00
termanix
9b1455f77a
Updated exe files processsing for evasion
2025-01-15 05:56:50 -05:00
mpgn
5db7e76cf4
Merge branch 'main' into backup_operator
2025-01-14 20:17:46 +01:00
zblurx
bf6fd5e91f
update e2e
2025-01-14 16:26:44 +01:00
zblurx
66500bf2db
update with latest dploot changes
2025-01-14 16:23:00 +01:00
zblurx
b250e1d9fd
Merge branch 'main' into module_dpapihash
2025-01-14 15:55:40 +01:00
zblurx
a5ec90e402
Merge pull request #539 from Pennyw0rth/dploot_upgrade
...
update dploot to 3.1.0
2025-01-14 15:53:57 +01:00
zblurx
142530ca49
update dploot to 3.1.0
2025-01-14 14:50:58 +01:00
mpgn
5e04926d7e
update module
2025-01-13 21:51:22 +01:00
mpgn
f999da0a31
update module
2025-01-13 20:52:52 +01:00
mpgn
5a63253d16
update module
2025-01-13 20:50:11 +01:00
Alex
835be02966
Merge pull request #538 from Pennyw0rth/neff-update-spec
...
Fix spec file
2025-01-12 21:02:41 +01:00
Alexander Neff
df0b4bba3a
Add oscrypto from github to fix openssl issue
2025-01-12 14:58:32 -05:00
Alexander Neff
72ff0ae041
Fix spec file
2025-01-12 09:28:13 -05:00
Fagan Afandiyev
2f1bc026cc
Delete nxc/modules/marbdawg.py
...
Signed-off-by: Fagan Afandiyev <[email protected] >
2025-01-10 19:19:35 -05:00
FaganAfandiyev
a25e26b38d
marbdawg beta 1.0
2025-01-10 19:17:37 -05:00
mpgn
d11532c95a
remove useless code
2025-01-10 10:29:49 +01:00
mpgn
d666ff3f4a
fix review
2025-01-09 22:20:58 +01:00
mpgn
333a7f31de
fix review
2025-01-09 22:17:15 +01:00
mpgn
74d8787166
fix review
2025-01-09 22:16:13 +01:00
mpgn
93acdba831
fix review
2025-01-09 22:14:25 +01:00
mpgn
bb87479069
add test
2025-01-09 21:05:05 +01:00
mpgn
11062abd4b
add exit if not right
2025-01-09 20:44:00 +01:00
mpgn
923fc4625f
add backup_operator module
2025-01-09 20:09:23 +01:00
mpgn
5103f57fac
Merge pull request #536 from Pennyw0rth/pfx_fix
...
fix pfx auth on non dc
2025-01-07 13:02:48 +01:00
mpgn
4a3f3e3120
use kdchost
2025-01-07 16:15:08 +01:00
mpgn
26e4ce4b11
use kdchost
2025-01-07 16:10:25 +01:00
mpgn
905f63677c
fix pfx auth on non dc
2025-01-07 16:05:12 +01:00
FaganAfandiyev
4e6b978406
Ruff changes
2025-01-06 18:39:04 -05:00
FaganAfandiyev
74f80e67ac
Default value added to OLDPASS and OLDNTHASH option
2025-01-06 18:30:46 -05:00
FaganAfandiyev
4604d494f1
Fixing output types
2025-01-06 17:30:19 -05:00
Fagan Afandiyev
7371dea334
Merge pull request #1 from termanix/changepassupdate
...
Improvements on STATUS_PASSWORD_MUST_CHANGE and STATUS_PASSWORD_EXPIRED
2025-01-06 17:26:40 -05:00
mpgn
5d680a9288
Merge pull request #534 from Pennyw0rth/nosmbv1
...
switch default conn from smbv1 to smbv3
2025-01-06 21:23:14 +01:00
mpgn
501c9e0c10
Merge branch 'main' into nosmbv1
2025-01-06 21:20:11 +01:00
mpgn
3ee33cdd61
Merge pull request #535 from Pennyw0rth/neff-patch-1
...
Update license file and lint py version
2025-01-06 21:20:02 +01:00
mpgn
a562430416
Merge branch 'main' into neff-patch-1
2025-01-06 21:15:20 +01:00
mpgn
1bfe964aa5
Merge pull request #533 from Pennyw0rth/pfx
...
add certificate authentication aka pass-the-cert
2025-01-06 21:15:07 +01:00
Alexander Neff
0236ef7877
Fix logic bug when creating smbv1 connection and add timeout check for smbv3
2025-01-06 08:43:49 -05:00
Alexander Neff
33ecfb1965
Remove old smbv1 check
2025-01-06 08:43:22 -05:00
Alexander Neff
5aca57804c
Lint
2025-01-06 07:46:14 -05:00
Alexander Neff
36eedde236
Update linting to py3.10
2025-01-06 07:46:09 -05:00
Alexander Neff
3904dcd063
Update license file
2025-01-06 07:45:59 -05:00
mpgn
cca63a2e76
force poetry to 1.8 in github action
2025-01-06 10:36:52 +01:00
mpgn
a4286ee3ab
allow test to be run manually
2025-01-06 09:54:42 +01:00
mpgn
0cbd63aa25
try to fix test
2025-01-06 09:24:49 +01:00
mpgn
c8160b6fe5
fix ruff
2025-01-05 02:32:37 +01:00
mpgn
e744305427
switch default conn from smbv1 to smbv3
2025-01-05 02:28:00 +01:00
Alexander Neff
5f87918e5f
Use NXC_PATH instead of hardcoded path
2025-01-04 14:52:38 -05:00
Alexander Neff
28bc001b46
Formating
2025-01-04 14:51:21 -05:00
Alexander Neff
631107dee4
Move cert auth logic to helpers function
2025-01-04 14:49:57 -05:00
Alexander Neff
c71e52dbf8
Pass the target ip to the tools, so that they don't need to resolve the domain
2025-01-04 14:41:44 -05:00
Alexander Neff
716ae2a148
Make sure that the user enters a username for cert auth
2025-01-04 14:41:17 -05:00
mpgn
36ca3a0326
add certificate authentication aka pass-the-cert
2025-01-04 18:36:38 +01:00
termanix
cf40b4c69e
Merge branch 'Pennyw0rth:main' into patch-6
2025-01-04 09:31:43 -05:00
termanix
c0fe839e28
ldap parser stay same as main branch. users and active-users editted for both anon and user auth.
2025-01-04 09:23:11 -05:00
Alex
f9ce149d12
Merge pull request #531 from Pennyw0rth/neff-refactor-ssh
2025-01-04 11:49:27 +01:00
Alexander Neff
a2ae0bde18
POC for escape to root file system
2025-01-03 20:19:35 -05:00
mpgn
fb96e7868c
Merge pull request #530 from Pennyw0rth/ldap_socks
...
fix connection issue with socks ldap
2025-01-03 08:22:38 +01:00
Alexander Neff
23b4a23c5d
Readd functionality that key files are stored to db
2025-01-02 18:42:11 -05:00
Alexander Neff
7a6945a789
Add missing database handling
2025-01-02 18:20:38 -05:00
mpgn
56e92220e2
Merge pull request #532 from Pennyw0rth/bh
...
push bloodhound to 1.8
2025-01-03 00:00:48 +01:00
mpgn
37ae051ad4
fix ruff
2025-01-03 00:14:42 +01:00
mpgn
d5c6bd927f
push bloodhound to 1.8
2025-01-03 00:09:06 +01:00
Alexander Neff
4303f1d43a
Moved to init
2025-01-02 17:54:53 -05:00
Alexander Neff
96d23cd174
Fix windows output
2025-01-02 17:52:47 -05:00
Alexander Neff
beee54bea6
Fix debug logging
2025-01-02 17:50:11 -05:00
Alexander Neff
caba9f662f
Refactor privilege check logic
2025-01-02 17:42:31 -05:00
mpgn
fcc22c212d
Merge pull request #505 from rtpt-romankarwacik/dcerpc_printerbug
...
coerce_plus: Support DCERPC for PrinterBug
2025-01-02 22:54:13 +01:00
Alexander Neff
cfc8f2fcfa
Fix auth
2025-01-02 16:37:57 -05:00
Alexander Neff
6593fa84db
Extracting privilege checks from plaintext_login
2025-01-02 16:37:17 -05:00
Alexander Neff
07540ee0c7
Renanem priv functions to reflect its implementation
2025-01-02 16:13:59 -05:00
Alexander Neff
176b9618f1
Move plaintext_login above priv checks
2025-01-02 16:13:16 -05:00
Alexander Neff
b02fff7e3c
Add handling for missing or wrong key file password
2025-01-02 16:04:44 -05:00
mpgn
3ec787cda2
re-add debug line
2025-01-02 21:59:47 +01:00
mpgn
45b81a4306
fix ruff
2025-01-02 21:56:02 +01:00
mpgn
7296e3c715
fix connection issue with socks ldap
2025-01-02 21:51:39 +01:00
mpgn
74f39f50d6
fix expoitstatus
2025-01-02 20:11:44 +00:00
Roman Karwacik
2c50411a59
fix force push ':(
2025-01-02 20:08:49 +00:00
Roman Karwacik
b22c4bc6b4
add break on loop
2025-01-02 20:08:03 +00:00
Alex
121942320e
Merge pull request #524 from jdholtz/ssh-file-interaction
...
ssh: allow for putting and getting files
2025-01-02 19:06:02 +01:00
Alex
59faa48cfd
Merge pull request #476 from termanix/patch-8
...
Improve LDAP dc-list flag
2025-01-01 18:28:04 +01:00
Alexander Neff
d8e5e94ccb
Add dns options to dc-list
2025-01-01 12:24:46 -05:00
mpgn
fbd4e1ae9a
Merge branch 'main' into patch-8
2024-12-31 10:02:31 +01:00
mpgn
131e29e117
Merge pull request #529 from XiaoliChan/printnightmare-fix
...
[PrintNightmare] Add more exception catch in module
2024-12-31 09:57:54 +01:00
XiaoliChan
3b443d7c83
[Module] Add more exception catch
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-31 13:22:43 +08:00
Alex
1d55ccf5b1
Merge pull request #528 from Pennyw0rth/neff-rdp-errors
...
Show error messages when rdp fails
2024-12-30 22:31:07 +01:00
Alexander Neff
7c95169907
Linting
2024-12-30 16:21:48 -05:00
Alexander Neff
57b29bcc71
Simplify code
2024-12-30 16:21:38 -05:00
Alexander Neff
0f810c958d
Add errors message to login result for all login methods
2024-12-30 16:20:32 -05:00
Alexander Neff
f93e9c3ea4
Add errors message to login result
2024-12-30 16:16:30 -05:00
Alex
2c421a7ed5
Merge pull request #526 from lap1nou/fix-user-desc
2024-12-30 21:13:04 +01:00
lapinou
4100bb3e61
Update ldap.py
...
Signed-off-by: lapinou <[email protected] >
2024-12-30 19:26:09 +01:00
lapinou
7a98330156
Update database.py
...
Signed-off-by: lapinou <[email protected] >
2024-12-30 19:18:44 +01:00
lapinou
14c4506767
Update user-desc.py
...
Signed-off-by: lapinou <[email protected] >
2024-12-30 19:10:35 +01:00
termanix
761da40463
added comment lines
...
Signed-off-by: termanix <[email protected] >
2024-12-29 23:20:21 +02:00
termanix
fb51b53885
update
2024-12-29 15:22:43 -05:00
mpgn
92dc819673
Merge pull request #521 from XiaoliChan/remove-mic-check
...
[Module] Add remove mic check
2024-12-29 21:18:01 +01:00
XiaoliChan
7a6565c1e1
Merge branch 'main' into remove-mic-check
2024-12-30 00:35:26 +08:00
mpgn
2a15590ba5
Merge pull request #523 from XiaoliChan/force-smbv2
...
[SMB] Allow force to disable SMBv1
2024-12-29 14:58:19 +01:00
XiaoliChan
281feb3809
[SMB] @mpgn review
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-29 18:29:05 +08:00
XiaoliChan
964be24cfa
[Remove-Mic] Add e2e command
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-29 15:09:06 +08:00
XiaoliChan
8ad48fb757
[Remove-Mic] Ruff
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-29 15:07:17 +08:00
XiaoliChan
ce963a0fa7
[Remove-Mic] mutiple hosts set 2 False
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-29 14:59:53 +08:00
XiaoliChan
b79ddec91f
[SMB] add e2e for '--no-smbv1'
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-29 01:43:12 +08:00
XiaoliChan
d33f1640b7
[SMB] better control of smbv1
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-29 01:37:10 +08:00
jdholtz
dc39e0e6a9
ssh: allow for putting and getting files
2024-12-27 01:33:50 -06:00
XiaoliChan
3e44b41e8b
[Module] Add remove mic check
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-27 02:01:39 +08:00
XiaoliChan
1b7dbe3ba1
[SMB] Allow force to use smbv2
...
Signed-off-by: XiaoliChan <[email protected] >
2024-12-27 01:32:41 +08:00
Alex
32b20cdc22
Merge pull request #522 from Pennyw0rth/neff-fix-514
2024-12-26 16:21:44 +01:00
Alexander Neff
c0e618fe41
Fix #514
2024-12-26 08:53:11 -05:00
Alex
14c295923f
Merge pull request #520 from lodos2005/patch-2
...
Rename ldapConnection to the new ldap_connection var #508 #4767762 - Fix Modules
2024-12-26 14:31:41 +01:00
Hakan Yavuz
bb378830b3
Rename ldapConnection to the new ldap_connection var #508 #4767762
2024-12-25 13:50:02 +03:00
Alex
07980ea486
Merge pull request #516 from Pennyw0rth/neff-improve-enum_links
...
Add a query for the linked server config if we are local admin
2024-12-21 15:48:03 +01:00
Alexander Neff
2a98a9255e
Add a query for the linked server config if we are local admin
2024-12-21 09:42:32 -05:00
Alex
bc2bc32797
Merge pull request #515 from Pennyw0rth/neff-patch-1
...
Change error to fail message
2024-12-21 15:23:18 +01:00
Alexander Neff
2afb383cdf
Change error to fail message
2024-12-21 08:36:55 -05:00
Alex
1e583a066f
Merge pull request #368 from Yeeb1/module_snipped
...
Add new SMB module to download Screenshots created by Snipping Tool
2024-12-21 13:22:10 +01:00
FaganAfandiyev
50d551df54
Comment updates
2024-12-19 23:15:57 -05:00
FaganAfandiyev
70a5e053fc
Updated version of change-password module with ruff changes
2024-12-19 23:13:15 -05:00
Alexander Neff
930f045190
Changing logging output
2024-12-19 08:28:27 -05:00
mpgn
4de3126672
Merge pull request #511 from Pennyw0rth/fix_ldap_trust
...
fix trust relation for ldap
2024-12-19 13:03:11 +01:00
mpgn
73ce6d773f
fix trust relation for ldap
2024-12-19 13:55:59 +01:00
mpgn
ecd3fcd255
Merge pull request #508 from Pennyw0rth/ldap_wt_smb
...
Remove smb from ldap proto
2024-12-19 09:15:32 +01:00
mpgn
d05aeb5631
Merge pull request #510 from Pennyw0rth/fix_kerberos_trust
...
fix trust relation for smb
2024-12-19 09:15:20 +01:00
mpgn
ea7e0925a1
fix trust relation for smb
2024-12-19 02:28:26 +01:00
Alexander Neff
4767762939
Rename ldapConnection to the new ldap_connection var
2024-12-18 17:31:25 -05:00
mpgn
4a8e702f24
fix hostname
2024-12-18 23:42:25 +01:00
mpgn
1c55fd806a
fix ruff
2024-12-18 23:05:52 +01:00
mpgn
02981b187e
Remove smb from ldap proto
2024-12-18 23:01:38 +01:00
mpgn
100a878a2c
Merge pull request #509 from Mortimus/patch-1
...
Update pyproject.toml to add missing dependency for wam module
2024-12-18 22:45:30 +01:00
mpgn
59e091ba34
add poetry.lock
2024-12-19 02:37:06 +01:00
Randall Stroup
0b2ffca913
Update pyproject.toml
...
Updated missing dependency for wam module
Signed-off-by: Randall Stroup <[email protected] >
2024-12-18 14:31:45 -06:00
mpgn
2e1f225859
Merge pull request #506 from Pennyw0rth/ruff
...
fix ruff
2024-12-18 00:01:19 +01:00
mpgn
4c9db0a377
fix ruff
2024-12-17 21:18:57 +01:00
mpgn
277a78c29c
Merge branch 'main' into ruff
2024-12-17 21:15:03 +01:00
mpgn
a284b00678
Merge pull request #415 from deathflamingo/main
...
Added new modules for mssql- namely enum_impersonate, enum_logins,, enum_links, exec_on_link, link_enable_xp, link_xpcmd
2024-12-17 21:13:50 +01:00
mpgn
cb44d09df7
fix ruff
2024-12-17 21:08:00 +01:00
mpgn
fb369f05b6
Merge pull request #444 from Dfte/SMB]-Add-the-Notepad++-module
...
[SMB] Add the Notepad++ module
2024-12-17 19:02:20 +01:00
mpgn
278124f289
Merge pull request #451 from Dfte/SMB]-Rework-the-runasppl-module
...
[SMB] Rework the runasppl module
2024-12-17 18:51:15 +01:00
mpgn
0ff19ac09e
Merge pull request #465 from Dfte/Add---shadowrdp-module
...
Add the shadow RDP module
2024-12-17 18:50:54 +01:00
mpgn
87e383fda5
Merge branch 'main' into Add---shadowrdp-module
2024-12-17 18:48:13 +01:00
mpgn
65e2b3f7a9
Merge pull request #449 from Dfte/SMB]-Powershell-history-module-rework
...
[SMB] Powershell history module rework
2024-12-17 18:47:13 +01:00
mpgn
25fd5c193a
Merge branch 'main' into Add---shadowrdp-module
2024-12-17 18:46:42 +01:00
termanix
a9ef92be9b
Merge branch 'Pennyw0rth:main' into patch-8
2024-12-17 11:41:44 -05:00
mpgn
aa68664ba5
Merge branch 'main' into SMB]-Rework-the-runasppl-module
...
Signed-off-by: mpgn <[email protected] >
2024-12-17 16:42:08 +01:00
mpgn
9e3ea172ad
Merge branch 'main' into SMB]-Powershell-history-module-rework
2024-12-17 16:26:47 +01:00
mpgn
fad01c8175
Merge branch 'main' into SMB]-Add---qwinsta-and---tasklist-options
...
Signed-off-by: mpgn <[email protected] >
2024-12-17 16:17:16 +01:00
mpgn
c9ce989b43
Merge pull request #491 from Pennyw0rth/dploot_upgrade
...
Upgrade dploot to 3.0.3
2024-12-16 22:22:15 +01:00
mpgn
52da03ec1b
Merge branch 'main' into dploot_upgrade
2024-12-16 22:08:03 +01:00
mpgn
4516401d15
Merge pull request #456 from lodos2005/patch-1
...
Add mssql_coerce Module
2024-12-16 22:03:44 +01:00
mpgn
706da13ef8
Merge branch 'main' into dploot_upgrade
2024-12-16 22:03:32 +01:00
mpgn
69715850dc
Merge branch 'main' into patch-1
2024-12-16 22:01:36 +01:00
mpgn
d32080e507
fix py missing
2024-12-16 21:56:58 +01:00
mpgn
051fa81da4
Merge pull request #492 from Adamkadaban/mssql-rid-brute
...
Add rid-brute flag to mssql protocol
2024-12-16 21:48:37 +01:00
mpgn
07c15cd413
Merge branch 'main' into mssql-rid-brute
2024-12-16 21:37:34 +01:00
Alex
95b1af5a16
Merge pull request #503 from Pennyw0rth/neff-add-basedn
...
Add baseDN flag to ldap
2024-12-11 13:13:13 +01:00
Alex
dcb3bbd025
Merge pull request #500 from MaxToffy/fix-daclread
...
Fix TARGET_DN object query
2024-12-11 13:12:59 +01:00
Alexander Neff
9997091980
Add baseDN option for other search queries
2024-12-10 18:29:14 -05:00
Alexander Neff
c4671a2c17
Add base-dn options for ldap to fix stuff like #500
2024-12-10 18:27:12 -05:00
Alex
3a446436a0
Merge pull request #502 from lap1nou/fix-nla-screen
...
Fix RDP '--nla-screenshot' option
2024-12-10 23:50:40 +01:00
Alexander Neff
55c4cfd219
Add log message and use NXC_PATH var
2024-12-10 17:42:38 -05:00
lapinou
8a55f22dc0
Update rdp.py
...
Signed-off-by: lapinou <[email protected] >
2024-12-10 19:31:17 +01:00
lapinou
5174ce4a6b
Update rdp.py
...
Signed-off-by: lapinou <[email protected] >
2024-12-09 23:09:12 +01:00
lapinou
74eb4cbcc8
Update rdp.py
...
Signed-off-by: lapinou <[email protected] >
2024-12-09 22:35:02 +01:00
Alex
2c5037f0ab
Merge pull request #499 from Joytide/spiderplus-ext-fix
...
Bugfix: file extension filter of spiderplus was misleading/broken
2024-12-05 13:05:49 +01:00
Joytide
bed186712d
Merge pull request #1 from termanix/patch-9
...
Update spider_plus.py for both with and without dots
2024-12-05 11:34:09 +01:00
termanix
3ca3481270
Update spider_plus.py for both with and without dots
...
Signed-off-by: termanix <[email protected] >
2024-12-05 00:38:41 +02:00
MaxToffy
bd50a585a1
Fix TARGET_DN object query
...
Signed-off-by: MaxToffy <[email protected] >
2024-12-04 11:12:15 +01:00
Joytide
af8001591c
Bugfix: file extension filter of spiderplus was misleading
2024-12-03 10:53:36 +01:00
Alex
24135483e2
Merge pull request #311 from Disgame/timeroast_module
...
Timeroast module
2024-12-01 14:37:45 +01:00
Alex
d7d7505fa1
Merge branch 'main' into timeroast_module
2024-11-30 12:36:10 +01:00
Alex
45db7e67aa
Merge pull request #498 from Pennyw0rth/neff-bug-fixes
...
Speed improvements and bug fixes
2024-11-30 00:21:00 +01:00
Alex
7b7f4b2475
Merge branch 'main' into timeroast_module
2024-11-29 01:12:57 +01:00
Alexander Neff
b9f52fdd4b
Formating
2024-11-28 19:00:54 -05:00
Alexander Neff
410e040a28
Don't print an index error with null session, we won't have null user in the db
2024-11-28 19:00:45 -05:00
Alexander Neff
9644cae865
Simplify logging
2024-11-28 18:43:23 -05:00
Alexander Neff
9e024582a4
Add timeout check, to not double check a non existent host
2024-11-28 18:41:10 -05:00
Alexander Neff
8dabb3d0e6
Remove formatter that strips out escape sequence, as already done by Text.from_ansi
2024-11-28 18:27:59 -05:00
Alexander Neff
9d558d95db
Remove unnecessary exception info which results in double logs, caused by kwargs passed as exc_info in log record
2024-11-28 17:31:50 -05:00
Alex
e19868ecb3
Merge pull request #495 from Pennyw0rth/neff-update-impacket
...
Update impacket so ldaps channel binding is supported
2024-11-25 22:13:24 +01:00
Alexander Neff
4f10c0b45a
Update impacket so ldaps channel binding is supported
2024-11-25 15:49:42 -05:00
Yeeb1
af512f1e6b
Modifed Snipped Module
2024-11-24 11:55:39 +00:00
Yeeb1
54fea6358e
Created the Snipped SMB Module
2024-11-24 10:33:19 +00:00
Yeeb1
4693d2118e
Ran ruff
2024-11-24 10:07:57 +00:00
Yeeb1
cee469bd22
Created gpp_privileges module
2024-11-24 10:03:41 +00:00
Adamkadaban
b4b6714125
remove extra newline for better formatting
2024-11-23 21:28:53 -05:00
Adamkadaban
977a3d60a3
add error checking for when not on a domain-joined machine
2024-11-23 15:54:48 -05:00
Adamkadaban
b76c848767
comment code
2024-11-23 15:52:05 -05:00
Adamkadaban
07554152db
add e2e test
2024-11-23 15:47:45 -05:00
Adamkadaban
6534a4592b
remove sid type. unsure if there is any way to query this
2024-11-23 15:34:57 -05:00
Adamkadaban
3b58928ab2
add batch query
2024-11-23 15:28:57 -05:00
Adamkadaban
9b5317c234
add rid-brute argument for mssql
2024-11-23 15:20:24 -05:00
Adamkadaban
29e239469e
add initial poc
2024-11-23 15:20:13 -05:00
zblurx
2efaafaf92
update poetry.lock
2024-11-22 17:33:10 +01:00
zblurx
0f98d92340
Upgrade dploot to 3.0.3
2024-11-22 17:18:21 +01:00
termanix
8439d4f9cf
Merge branch 'Pennyw0rth:main' into patch-8
2024-11-16 10:05:50 -05:00
Alex
05ad3c6bc4
Merge pull request #488 from TheToddLuci0/add_null_domain_flag
...
Allow for empty domains
2024-11-15 19:17:54 -05:00
Alex
77e1f88d5b
Merge pull request #380 from nikaiw/add_ioxidresolver_option
...
add an option to ioxidresolver to get only IP values different than targets
2024-11-15 19:06:13 -05:00
Alexander Neff
c64cf0a93a
Fix module options and rstrip to remove trailing null byte
2024-11-15 18:56:12 -05:00
TheToddLuci0
743076acd3
Allow for empty domains
2024-11-15 17:53:15 -06:00
Alex
b3872600e9
Merge pull request #438 from snowpeacock/fix_module_execution_method
...
Bugfix : exec-method specified in module file is not used
2024-11-15 17:25:17 -05:00
Alexander Neff
dca1d088c3
Merge branch 'main' into fix-exec-method
2024-11-15 17:22:04 -05:00
Alex
0da04ddb20
Merge pull request #381 from termanix/FindDelegation
...
New LDAP Flag Find Delegation
2024-11-14 15:09:32 -05:00
Alexander Neff
f5d5a1b4fe
Use imported constants instead of redefining
2024-11-14 14:10:13 -05:00
Alexander Neff
bac7a34285
Removing disabled account checks, these are already filtered by the ldap query
2024-11-14 06:46:50 -05:00
Alexander Neff
573eb60002
Small formating changes
2024-11-14 06:40:07 -05:00
Alexander Neff
0fc09fae53
Filter only unconstrained delegation on DCs
2024-11-14 06:29:12 -05:00
Alexander Neff
496b002ad2
Remove check for sAMAccountName, there should always be one
2024-11-14 06:22:38 -05:00
Alex
2235050f60
Merge pull request #487 from Pennyw0rth/neff-fix-veeam-output
...
Fix veeam output
2024-11-13 08:44:34 -05:00
Alexander Neff
3fff8b1721
Remove weird header in PR template
2024-11-13 08:25:58 -05:00
Alexander Neff
620f4208b4
Fix veeam output
2024-11-13 08:23:40 -05:00
Alex
dbd20cb72a
Merge pull request #481 from Kahvi-0/main
...
schtask_as - Delete task when there is an error
2024-11-12 17:02:44 -05:00
Alex
08b486da5c
Merge pull request #482 from Pennyw0rth/hosts_file
...
Add option to generate hosts file for smb proto to first blood more quickly on htb
2024-11-12 17:02:00 -05:00
Alex
cd75a4c5e9
Merge pull request #486 from j-mie/fix-nmap-parser-ftp
...
Fix nmap XML parser when looking for ftp service
2024-11-12 16:55:17 -05:00
Jamie Hankins
3358f77d22
Add support for WMI and NFS in nmap XML parser
2024-11-12 17:40:39 +00:00
Jamie Hankins
7586145d24
Fix nmap XML parser when looking for ftp service
2024-11-12 17:08:52 +00:00
termanix
627bc5ee18
dns-resolver object change with the nxc/connection.py
2024-11-11 14:48:21 -05:00
termanix
bb11d413cd
Merge branch 'Pennyw0rth:main' into patch-8
2024-11-11 12:09:00 -05:00
Alexander Neff
801420da75
As the scheduled task now triggers on registration we remove manuel execution because this would try to run the task twice
2024-11-11 11:19:31 -05:00
Alexander Neff
14ccdfc63c
Suprress task deletion errors and ensure only one error message is printed
2024-11-11 11:05:35 -05:00
Alexander Neff
33f3f7c449
Remove global variable
2024-11-11 08:59:10 -05:00
Alexander Neff
64f0f78ed3
Remove useless code and formating
2024-11-11 08:38:44 -05:00
Alexander Neff
94c2884c5f
Update atexec.py to prevent detectino with hardcoded timestamp
2024-11-10 18:29:18 -05:00
Alexander Neff
ab579b3d45
Change Trigger to type RegistrationTrigger and add end boundary to prevent execution after some time if something fails, see #481
2024-11-10 18:26:11 -05:00
termanix
a70e3b8c6b
removed SERVER_TRUST_ACCOUNT for see rbcd to DCs
2024-11-09 11:27:04 -05:00
termanix
ef0ca60c39
mustcommit variable remove
2024-11-08 01:53:22 -05:00
mpgn
d9982b486d
Merge branch 'main' into hosts_file
2024-11-07 15:24:00 +01:00
Alex
72fee6af49
Merge pull request #405 from 0xQRx/mssql-xp-shell-add-check
...
Mssql xp_cmdshell added "is enabled" check
2024-11-06 23:25:02 +01:00
Alexander Neff
c012e04ecf
Add backup&restore options for mssql options, to keep the current state of the mssql config
2024-11-06 16:34:41 -05:00
mpgn
e78b05adad
Merge branch 'main' into hosts_file
2024-11-06 15:13:02 +01:00
Alex
a83c412062
Merge pull request #462 from y0no/smb_add_enum_shares
...
[SMB] Add --enum-shares options like in NFS protocol
2024-11-06 12:30:38 +01:00
Alexander Neff
92c4f014a6
Add ruff exception for function name "dir"
2024-11-06 06:24:36 -05:00
Alexander Neff
fd378f6675
Removing unnecessary check
2024-11-06 06:21:41 -05:00
mpgn
d4808ac9e9
check if target is dc
2024-11-04 14:41:43 +01:00
mpgn
864b7aeed3
fix proto help
2024-11-03 22:17:57 +01:00
mpgn
c294219b7a
add tests
2024-11-03 22:08:51 +01:00
mpgn
841f9d8fd0
add generate_hosts_file option for lab
2024-11-03 22:02:51 +01:00
Kahvi-0xFF
bab8acbf4d
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-10-31 19:18:16 -04:00
Kahvi-0xFF
dc61428a0e
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-10-31 19:04:16 -04:00
Kahvi-0xFF
9c17cf9bb2
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-10-31 19:02:50 -04:00
Kahvi-0xFF
c66ab1af61
schtask_as.py - Delete task when there is an error
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-10-31 18:42:34 -04:00
termanix
26391a3370
Update variables
...
Signed-off-by: termanix <[email protected] >
2024-10-28 21:58:53 +02:00
termanix
85600e66b4
Update admin-count parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 21:35:00 +02:00
termanix
2f17bb27b3
Update password-not-required parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 20:59:43 +02:00
termanix
c96b703bd7
Update trusted-for-delegation parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 20:58:39 +02:00
termanix
ec09a5a35b
Update query parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 20:46:35 +02:00
termanix
7b4f5ea65f
Update kerberoasting parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 20:15:12 +02:00
termanix
78063a0308
Update asreproast parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 20:01:11 +02:00
termanix
9889414c2e
Update groups parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 19:59:52 +02:00
termanix
415af7e613
Merge branch 'main' into patch-7
2024-10-28 19:13:17 +03:00
termanix
3d186ec434
Update check_if_admin parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-28 18:10:38 +02:00
termanix
92c892fd41
Update dc-list
...
Signed-off-by: termanix <[email protected] >
2024-10-28 15:57:47 +02:00
Alex
78da498846
Merge pull request #474 from Pennyw0rth/marshall-nfs-status13-fix
2024-10-28 00:23:18 +01:00
Alexander Neff
1b495cd372
Use the status codes defined in the rfc when we have an error with mounting shares
2024-10-23 17:56:57 -04:00
Marshall Hallenbeck
9e6ba5a4c0
fix: check if status is 13 and print out permission denied for share
2024-10-23 15:59:39 -04:00
Alex
3e5d825852
Merge pull request #473 from Pennyw0rth/neff-code-improvements
2024-10-23 11:29:39 +02:00
Alex
6f7c4dbc1a
Merge branch 'main' into neff-code-improvements
2024-10-22 22:22:49 +02:00
Alex
110f61bc3b
Merge pull request #460 from Pennyw0rth/neff-drop-py-support
...
Drop support for Python 3.8 and 3.9
2024-10-22 22:22:38 +02:00
Alexander Neff
a382fbd492
Execute should always return a string not a list
2024-10-22 15:40:49 -04:00
Alexander Neff
b5e9f1f069
Replace False return values with empty list to prevent crashes
2024-10-22 15:34:21 -04:00
Alexander Neff
7f3233008d
Replace None/False return values with empty list to prevent crashes
2024-10-22 15:27:23 -04:00
termanix
496ea65394
Updated get_ldap_info with parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-22 21:38:01 +03:00
Alexander Neff
8e421046d1
Remove obsolete code
2024-10-22 11:44:28 -04:00
Alexander Neff
623bfd9fe2
Fix linting
2024-10-22 10:32:34 -04:00
Alexander Neff
cc659638c8
Merge branch 'main' into neff-drop-py-support
2024-10-22 10:32:13 -04:00
termanix
4627d0a119
Update for parse_result_attributes
...
Signed-off-by: termanix <[email protected] >
2024-10-21 22:11:42 +03:00
termanix
a1bb4ee0df
update ldap_results for now
2024-10-21 22:05:51 +03:00
termanix
f4617f6436
removed unused timedelta
...
Signed-off-by: termanix <[email protected] >
2024-10-21 22:02:05 +03:00
termanix
6e2b050d33
Merge branch 'main' into patch-6
2024-10-21 21:59:29 +03:00
termanix
d212ae7c2d
Updated as Neff's review
...
Signed-off-by: termanix <[email protected] >
2024-10-21 21:55:46 +03:00
Alex
d6e77d19c6
Merge pull request #470 from Chocapikk/main
...
FIX `a bytes-like object is required, not str` in `nxc/protocols/smb.py`
2024-10-20 23:28:10 +02:00
Chocapikk
536cede147
Add comment
2024-10-20 19:55:46 +02:00
Chocapikk
d4a17c00a0
FIX a bytes-like object is required, not str
2024-10-20 17:08:23 +02:00
y0no
2bf95cc899
Move from --enum-share to --dir
2024-10-19 11:24:38 +02:00
Alex
c312367b34
Merge pull request #466 from haytechy/main
...
Fixed issue with --options flag
2024-10-19 02:27:24 +02:00
Alexander Neff
5b48d68afb
Remove unused import
2024-10-18 20:27:09 -04:00
Alexander Neff
e2bec64be2
Hotfix if msDS-AllowedToActOnBehalfOfOtherIdentity has an empty security descriptor
2024-10-18 20:21:28 -04:00
Alexander Neff
c2fe271738
Fix ldap result parsing minor code improvements
2024-10-18 20:20:27 -04:00
Alexander Neff
fa8d5d5299
Merge branch 'main' into find-delegate
2024-10-18 16:57:51 -04:00
haytehcy
5bcf955bb3
Fixed issue with --options flag
2024-10-18 21:02:32 +01:00
termanix
6e59002b6f
Edit_ldarp_parser
2024-10-18 16:48:15 +03:00
termanix
5b14c3f999
Used parse_result_attributes for parsing RBCD too
...
Signed-off-by: termanix <[email protected] >
2024-10-18 16:39:04 +03:00
termanix
29de0ccf34
Used parse_result_attributes for parsing
...
Signed-off-by: termanix <[email protected] >
2024-10-18 16:26:16 +03:00
Deft_
6dcc0cf2d3
Create shadowrdp.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-17 13:47:32 +02:00
Deft_
f6436fd9ba
Create remoteuac.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-17 13:33:49 +02:00
Deft_
899c516a75
Update recyclebin.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-16 20:16:36 +02:00
Deft_
bc26a1b222
[SMB] Rework --spider and add recyclebin.py module
2024-10-16 18:21:06 +02:00
y0no
c3f10eff87
Add --enum-shares options to SMB protocol
2024-10-16 18:02:13 +02:00
Alexander Neff
46cd610fb0
Update README to support py3.10+
2024-10-16 07:39:08 -04:00
Alexander Neff
7e90ad2c0f
Revert 8485417358
2024-10-16 07:36:33 -04:00
Alexander Neff
ed0b03917e
Update github workflows
2024-10-16 07:32:33 -04:00
Alexander Neff
6564038d51
Moving the PR template hoping that it now get recognized by gh
2024-10-16 07:29:14 -04:00
Alexander Neff
743a84dbe6
Update dependencies
2024-10-16 07:20:32 -04:00
Alexander Neff
4612df869e
Drop python 3.8 and 3.9 support
2024-10-16 07:17:05 -04:00
Alex
ae4317c955
Merge pull request #458 from Hackndo/patch-1
2024-10-16 13:05:14 +02:00
Pixis
a798bb69c2
Update runasppl.py
...
`execute()` method of `smb` class returns False if an error occurred.
https://github.com/Pennyw0rth/NetExec/blob/main/nxc/protocols/smb.py#L766
If so, the current code fails as `False` is not iterable.
This fix will check if `p` is not `False` before checking the error message in `p`
Signed-off-by: Pixis <[email protected] >
2024-10-16 11:25:40 +02:00
Hakan Yavuz
bf3973068b
add mssql_coerce Module
...
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-16 08:48:45 +03:00
Brian Giraldo
991673f095
New module that searches for files that contain aws credentials on windows and linux systems.
2024-10-15 23:24:55 -05:00
Deft_
821741a789
Update notepad++.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-15 20:05:45 +02:00
Deft_
5a364f7929
Minor code optimization
...
Signed-off-by: Deft_ <[email protected] >
2024-10-15 20:04:27 +02:00
Deft_
581d5c600a
Remove (little) unecessary code
...
Signed-off-by: Deft_ <[email protected] >
2024-10-15 20:03:02 +02:00
Deft_
a140c9479c
Minor code optimization
...
Signed-off-by: Deft_ <[email protected] >
2024-10-15 19:59:22 +02:00
Hakan Yavuz
e8830121e5
Get Two event with Single RPC call
...
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-15 16:39:18 +03:00
Hakan Yavuz
88e02f42cb
Update eventlog_creds.py
...
fix for linter, spaces
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-15 01:25:24 +03:00
Hakan Yavuz
c48ff38dbc
Update eventlog_creds.py
...
add rpc method,
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-15 01:15:51 +03:00
Hakan Yavuz
efc143224b
Create even6_parser.py
...
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-15 01:14:59 +03:00
0xQRx
2a724d3cd3
Merge branch 'main' into mssql-xp-shell-add-check
2024-10-13 19:48:37 -04:00
Hakan Yavuz
d2ffe24b15
Update eventlog_creds.py
...
fix for lint
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-14 01:16:32 +03:00
Hakan Yavuz
57fdac1c93
Update eventlog_creds.py
...
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-14 01:02:29 +03:00
Hakan Yavuz
2ebc410cb7
Create eventlog_creds.py
...
add new module
Signed-off-by: Hakan Yavuz <[email protected] >
2024-10-14 00:50:15 +03:00
Alex
6d4fdfdb2d
Merge pull request #448 from Pennyw0rth/v1.3.0
...
Release v1.3.0
2024-10-13 22:02:56 +02:00
Deft_
3c197634b2
Delete nxc/modules/recent_files.py (clownface)
...
Signed-off-by: Deft_ <[email protected] >
2024-10-13 21:52:19 +02:00
Deft_
26e08ca6a0
Update runasppl.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-13 17:27:37 +02:00
Deft_
dadad0e3f8
Create recent_files.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-12 20:25:53 +02:00
Deft_
29329bfee2
Update and rename Notepad++.py to notepad++.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-12 19:16:01 +02:00
Deft_
807e47200d
[SMB] Powershell history module rework
...
Signed-off-by: Deft_ <[email protected] >
2024-10-12 18:46:22 +02:00
Alexander Neff
a493c04e14
Release v1.3.0
2024-10-12 10:51:58 -04:00
Alex
485f72043e
Merge pull request #446 from Pennyw0rth/fix-windows
...
Fix windows and encoding stuff
2024-10-12 16:17:58 +02:00
Alex
9e61764282
Merge pull request #447 from Pennyw0rth/neff-fix-loading-modules
...
Fix module loading for ssh, vnc and ftp
2024-10-12 16:12:16 +02:00
Alexander Neff
8211c33765
Fix module loading for ssh, vnc and ftp
2024-10-12 09:24:18 -04:00
Alex
8485417358
Removing unsupported option in py3.8
2024-10-12 15:07:35 +02:00
Alex
c7164b6c3f
Formating
2024-10-12 02:29:16 +02:00
Alex
e583d5fbed
Fix encoding for ldap results
2024-10-12 02:26:25 +02:00
Alex
15f84fd93d
Fix encoding errors for log files etc when using non windows characters
2024-10-12 02:24:46 +02:00
Alex
c2130aa67f
Fix import errors for static binary
2024-10-12 02:23:41 +02:00
Deft_
cc5016f75a
[SMB]
...
Signed-off-by: Deft_ <[email protected] >
2024-10-11 16:55:31 +02:00
Deft_
a804041140
[SMB] Add the --qwinsta and --tasklist options
...
Signed-off-by: Deft_ <[email protected] >
2024-10-11 16:52:45 +02:00
Deft_
ebb4d3e405
[SMB] Add the
...
Signed-off-by: Deft_ <[email protected] >
2024-10-11 16:52:04 +02:00
Deft_
f419884249
Create Notepad++.py
...
Signed-off-by: Deft_ <[email protected] >
2024-10-11 16:47:47 +02:00
Alex
95ac3716d7
Merge pull request #440 from ledrypotato/fix-NFS-get-large-file
...
Updated the --get-file method to get large files from NFS shares
2024-10-11 00:07:41 +02:00
Alex
c1f7ed3310
Merge branch 'main' into fix-NFS-get-large-file
2024-10-11 00:01:58 +02:00
Alexander Neff
a0e0df2394
Remove unused variable
2024-10-10 18:01:04 -04:00
Alexander Neff
94605f18e7
Write pulled data directly to the file instead of caching it
2024-10-10 18:00:52 -04:00
Alex
d61eec0146
Merge pull request #442 from Pennyw0rth/neff-improve-coerce_plus
...
Small fixes for coerce_plus
2024-10-10 23:51:29 +02:00
Alex
b59d8238f5
Merge pull request #400 from dazzgt/bugfix/db-interface-error
...
refactoring to fix InterfaceError of DB
2024-10-10 23:51:04 +02:00
Alexander Neff
83a16b654b
Fix PrinterBug detection
2024-10-10 17:40:13 -04:00
Alexander Neff
3ce7b6b37a
Readd rpc message to success message
2024-10-10 17:39:58 -04:00
Alexander Neff
b81ea6cb3a
Simplify code
2024-10-10 15:25:00 -04:00
Alexander Neff
a7141ae6f3
Improve handling of rpc errors for dfscoerce
2024-10-10 15:18:09 -04:00
Alex
0da4cf8455
Merge pull request #300 from lodos2005/main
...
Add coerce_plus Module
2024-10-10 13:24:54 +02:00
Matt Taylor
e4a9352379
clean file size + implement EOF file read
2024-10-10 12:27:18 +02:00
termanix
4a47550d94
Update users and active-users ldap.py
...
Signed-off-by: termanix <[email protected] >
2024-10-09 23:40:02 +03:00
ledrypotato
7a86d0f045
update get-file method to get large files
2024-10-09 16:50:10 +02:00
snowpeacock
aa9075e35c
fix: override of exec method by default arg
2024-10-07 16:36:00 +02:00
termanix
7db7de4f1e
Update ldap.py.
...
Added processAttributeValue Function
A new helper function was introduced to process the content of LDAP AttributeValue objects.
Updated printTable Function
Resource-Based Constrained Delegation Processing
Added Constant Variables
Constant variables were defined for userAccountControl values.
Modular Code Structure
The overall structure was made more modular; functions were clearly separated for better readability.
Signed-off-by: termanix <[email protected] >
2024-10-07 10:17:21 +03:00
Alexander Neff
dadeff939d
Fix NFS database to usethe new super class
2024-10-06 15:29:15 -04:00
Alexander Neff
a3bc425e9f
Fix merging error
2024-10-06 15:28:34 -04:00
Alex
c1780a1a26
Merge pull request #411 from Pennyw0rth/neff-improve-login
...
Increase plaintext&hash login speeds
2024-10-06 21:20:05 +02:00
Alexander Neff
50a5b6b0de
Merge branch 'main' into fix-dbs
2024-10-06 13:01:34 -04:00
Alexander Neff
a4ad6895c1
Formating
2024-10-06 11:26:50 -04:00
Alex
43da2afa58
Merge pull request #435 from Pennyw0rth/neff-improve-testsuite
...
Improve test suite
2024-10-05 21:55:40 +02:00
Alexander Neff
c1589955fd
Add 2 error codes that shows a successful coercion
2024-10-05 12:21:59 -04:00
Alexander Neff
5a0f1a5a6a
Change help message from NFS to get in line with other protocols
2024-10-05 09:18:15 -04:00
Alexander Neff
0dcfc7399b
Add an option to show commands that produced no output as "not tested"
2024-10-04 17:07:28 -04:00
Alexander Neff
567b2bf7cc
Fix spelling which prevented commands to be run by the test suite
2024-10-04 17:06:51 -04:00
Alexander Neff
ed0187391c
Remove domain from not implemented plaintext login to fix protocols with no auth and no domain
2024-10-04 17:06:26 -04:00
Alex
092a14f1fe
Merge pull request #434 from Pennyw0rth/neff-fix-pwned-label
...
Fix pwned label when brute forcing with guest account enabled
2024-10-04 22:55:00 +02:00
Alexander Neff
6fa13820dc
Fix pwned label when brute forcing with guest account enabled
2024-10-04 16:22:37 -04:00
Alexander Neff
85b2b6e084
Add --use-kcache to commands that require a new conn object
2024-10-04 16:11:02 -04:00
Alex
754ca2d423
Merge pull request #404 from tiyeuse/main
...
Add file write check on smb
2024-10-04 17:43:00 +02:00
Alexander Neff
f17a61f531
Change write privs of a share to True if we can either create a file OR a directory
2024-10-04 11:34:52 -04:00
Alex
e1c66357d6
Merge pull request #433 from Pennyw0rth/neff-fix-database-creation
...
Fix a bug with the databases when a new protocol is added
2024-10-04 17:13:28 +02:00
Alexander Neff
c2dfa67c6c
Fix a bug with the databases when a new protocol is added
2024-10-04 10:58:59 -04:00
Alex
27313a00b6
Merge pull request #366 from termanix/NFS-Protocol
...
New Protocol NFS
2024-10-03 16:10:55 +02:00
Alexander Neff
90cc0e57d7
Formating
2024-10-02 17:56:27 -04:00
Pavel Redyukov
7729139d10
Merge branch 'main' into bugfix/db-interface-error
2024-10-02 14:10:26 +03:00
termanix
41681ee1cb
Fixed put-file
...
Signed-off-by: termanix <[email protected] >
2024-10-02 13:43:42 +03:00
termanix
bbb9d15e66
e2e editted
...
Signed-off-by: termanix <[email protected] >
2024-10-02 09:11:42 +03:00
Alexander Neff
4ea4b5f961
Merge "main" into "NFS-Protocol"
2024-10-01 18:14:44 -04:00
Alexander Neff
998b8787a6
Change arg help
2024-10-01 17:59:24 -04:00
Alexander Neff
b5f9e131ee
Add error handling for upload, fix permissions for upload and fix upload for windows
2024-10-01 17:43:45 -04:00
Alexander Neff
f396ff0b66
Simplify code
2024-10-01 16:39:07 -04:00
termanix
1eafa319bc
fixed and done get-file for windows and linux
...
Signed-off-by: termanix <[email protected] >
2024-10-01 17:30:14 +03:00
Alexander Neff
c1308e6186
Fix local file name
2024-09-30 19:04:33 -04:00
Alexander Neff
e737dd6aca
Remove unused function, fix uid detection, add comments and simplify code
2024-09-30 18:50:58 -04:00
Alexander Neff
555347752a
Fix bug with uid and uid autodetection
2024-09-30 18:49:33 -04:00
termanix
f95b9354b7
Renamed get file dispay name
...
Signed-off-by: termanix <[email protected] >
2024-09-30 23:06:45 +03:00
termanix
74d7d07b1f
import os for downloaded files
...
Signed-off-by: termanix <[email protected] >
2024-09-30 23:00:00 +03:00
termanix
fbfbcc3baa
added get, puf file flags
...
Signed-off-by: termanix <[email protected] >
2024-09-30 22:53:49 +03:00
termanix
79ecfa8a4d
uid-brute removed. Added get-file and put-file
...
Signed-off-by: termanix <[email protected] >
2024-09-30 22:52:24 +03:00
termanix
4ae6c195f0
Fixed --enum-shares UID bug and removed uid-brute on proto-args
2024-09-30 09:30:41 +03:00
Alexander Neff
62b535ea50
Rename Reachable Networks to Access List
2024-09-29 18:55:55 -04:00
Alexander Neff
84aa78898b
Implementing UID autodetection, making the uid flag redundant
2024-09-29 18:43:06 -04:00
Alexander Neff
8c5b3617e8
Fix bug for insufficient permissions, remove unnecessary code and formating
2024-09-29 18:17:02 -04:00
termanix
9031589f0d
Changed enum-shares default depth to 3 from 1
...
Signed-off-by: termanix <[email protected] >
2024-09-29 15:39:49 +03:00
termanix
a877047ba2
all feature flags done with output
...
Signed-off-by: termanix <[email protected] >
2024-09-29 15:38:28 +03:00
Alexander Neff
6f24858dc0
Fix indents
2024-09-29 07:09:44 -04:00
Alexander Neff
1a38a288df
Add share usage
2024-09-29 07:05:00 -04:00
Alex
aef2675cee
Merge pull request #406 from Pennyw0rth/neff-fix-mssql-log
...
Fix file logging for display messages
2024-09-28 23:02:57 +02:00
Alexander Neff
b48f6945ae
Added uid proto arg and rwx permission check for enum_shares
2024-09-28 16:59:39 -04:00
Alexander Neff
4cd46c7fd9
Separate enum_shares and uid_brute
2024-09-28 15:53:09 -04:00
Alexander Neff
fadce581ef
Improve code
2024-09-28 15:40:41 -04:00
Alexander Neff
1e624d8606
Add share permission enumeration
2024-09-28 15:40:28 -04:00
Alexander Neff
c23db63b97
Add connection timeout option
2024-09-28 12:17:09 -04:00
Alexander Neff
6b5eb1a240
Remove plaintext_login as there is no such thing in NFS3
2024-09-28 11:57:28 -04:00
Alexander Neff
e9ed46b6e0
Correct port description
2024-09-28 11:57:01 -04:00
Alexander Neff
f05601f645
Use init as create_conn_obj function and improve code structure
2024-09-28 11:56:46 -04:00
Alexander Neff
8c39962dba
Add generel disconnect instruction to be implemented by protocols
2024-09-28 11:47:11 -04:00
Alexander Neff
ff194d3e0b
Remove hardcoded nxc_path
2024-09-28 07:29:05 -04:00
Alexander Neff
f47ebb3356
Add file&line number to debug file log
2024-09-28 07:13:02 -04:00
Joachim De Bats
9aca9c246a
WDS module
2024-09-26 16:42:24 +02:00
Alex
04a695ff93
Merge pull request #341 from 357384n/main
...
Add new SMB module to get the PowerShell history on all the users
2024-09-25 00:38:38 +02:00
Alex
ac2dfc95e7
Merge pull request #422 from Pennyw0rth/neff-fix-maq
...
Fix maq module if MAQ not set
2024-09-24 23:56:22 +02:00
Pavel Redyukov
3b1eac7be5
refactoring to fix InterfaceError of DB
2024-09-23 15:21:48 +03:00
termanix
ad1b421422
Fixed spam output while uid bruteforce
...
Signed-off-by: termanix <[email protected] >
2024-09-23 12:57:54 +03:00
Alexander Neff
d89709feac
Update PyNfsClient
2024-09-22 19:34:35 -04:00
Alexander Neff
045f2c291b
Fix recursion depth
2024-09-22 19:28:28 -04:00
Alexander Neff
f191f780a3
Renaming, simplifying code and adad recursion depth to share listing
2024-09-22 19:27:59 -04:00
Alexander Neff
78a270b57b
Switch pynfsclient to our fork
2024-09-22 16:37:55 -04:00
Alexander Neff
ee549ccae7
Add ipv6 message and formating
2024-09-21 12:46:59 -04:00
Alexander Neff
e1ecf90a78
Formating
2024-09-21 12:04:55 -04:00
Alexander Neff
4e855f811f
Properly add pynfsclient dependency
2024-09-21 12:04:39 -04:00
Alexander Neff
31b909b97d
Check if there is a history before saving
2024-09-21 09:11:29 -04:00
Alexander Neff
5da577f5c3
Optimise export code
2024-09-21 09:06:13 -04:00
Alexander Neff
bb95e0faa4
Add "passw" as keyword
2024-09-21 08:55:02 -04:00
Alexander Neff
1b4081e54c
Simplify code and formatting
2024-09-21 08:54:09 -04:00
Alex
99d4e49ac1
Merge pull request #423 from Pennyw0rth/neff-patch-1
2024-09-20 09:27:08 +02:00
Alexander Neff
d52a651bd4
Fix logger protocol when using --no-smb
2024-09-19 17:27:56 -04:00
Alexander Neff
6dbf14b87f
Fix maq module if ms-DS-MachineAccountQuota is not set
2024-09-19 16:55:35 -04:00
Alexander Neff
cea324c97b
Fix escape sequence
2024-09-19 16:40:04 -04:00
Alex
bb2f3ec13a
Merge pull request #418 from a-urth/main
...
Encode delegate/impersonate user name string as utf8 unicode, not latin1
2024-09-18 23:37:57 +02:00
Alex
2eebb7c513
Merge pull request #417 from jsherwood0/make_version_arg_universal
...
Make --version switch universal so help2man will work properly
2024-09-18 23:25:42 +02:00
au
0dbea8e8a3
encode string as utf8 unicode, not latin1
2024-09-14 14:33:06 +03:00
root@devkali
9153779671
Make --version switch universal so help2man will work properly
2024-09-13 17:11:42 -04:00
deathflamingo
6477771cfe
Merge pull request #1 from deathflamingo/deathflamingo-mssql-modules-1
...
Added new modules for mssql- namely enum_impersonate, enum_logins,, enum_links, exec_on_link, link_enable_xp, link_xpcmd
2024-09-11 15:15:42 +05:30
deathflamingo
87199f6e5c
Add files via upload
...
Signed-off-by: deathflamingo <[email protected] >
2024-09-11 15:10:33 +05:30
termanix
509f6d1373
Update ldap.py ruff fix
...
Signed-off-by: termanix <[email protected] >
2024-09-05 12:38:57 +03:00
termanix
a9181f469d
Update ldap.py for find delegation
...
Added try except on header
Signed-off-by: termanix <[email protected] >
2024-09-05 12:32:23 +03:00
Alex
e927f33f2b
Merge pull request #407 from r4vanan/main
...
Smbghost scanning module
2024-09-03 01:19:44 +02:00
Alexander Neff
6e5929175c
Make description more precise
2024-09-02 18:52:56 -04:00
Alexander Neff
ea9acdcb40
Fix ruff linting
2024-09-02 16:51:43 -04:00
Alex
7657f9603a
Merge pull request #342 from Kahvi-0/main
...
schtask_as Improvement - Options for custom task, file, and location.
2024-09-02 00:44:56 +02:00
Alexander Neff
0175be7b08
Added example path and os.path.join for flexibility
2024-09-01 18:38:56 -04:00
Alex
9cc44f65e7
Merge pull request #306 from jubeaz/module_wcc_add_defender
...
Module wcc added some defender checks
2024-09-01 21:45:09 +02:00
Vinoth Kumar
2744a2c4ed
Merge branch 'Pennyw0rth:main' into main
2024-09-01 20:18:27 +05:30
Vinoth Kumar
b771c28b51
removed unwanted code
...
Signed-off-by: Vinoth Kumar <[email protected] >
2024-09-01 20:17:54 +05:30
Alexander Neff
7070305e6c
Add faster login for kerberos
2024-09-01 07:28:30 -04:00
Alexander Neff
cafa670113
Create new connection object if we want to log in
2024-09-01 07:28:02 -04:00
Alex
e14be335c3
Merge pull request #393 from Pennyw0rth/neff-fix-kerberos
...
Fix issues with kerberos and non NTLM domains
2024-09-01 12:44:29 +02:00
Vinoth Kumar
3fd8598389
Merge branch 'Pennyw0rth:main' into main
2024-08-31 09:54:11 +05:30
Alexander Neff
425ad8ea23
Remove unnecessary new line
2024-08-30 14:18:14 -04:00
Alex
45a9121bb1
Merge pull request #328 from Shad0wC0ntr0ller/pre2k
...
Identify Pre-Created Computer Accounts
2024-08-30 20:09:18 +02:00
Alexander Neff
e4b7ea64eb
Increase plaintext&hash login speeds, also only evaluate smbv1 at initialisaion
2024-08-29 18:58:06 -04:00
Alex
9bc05e55ee
Merge pull request #394 from Pennyw0rth/neff-workflows
...
Updated github workflows
2024-08-29 14:26:25 +02:00
Alexander Neff
0034048da4
Simplify code
2024-08-28 17:34:56 -04:00
Alex
e7acdc78e1
Merge pull request #409 from cauan/patch-2
...
ldap-checker.py Catch connection errors
2024-08-27 23:59:12 +02:00
Alexander Neff
35b4c4c63d
Fix logging and improve reason text
2024-08-27 17:55:07 -04:00
Alexander Neff
dfb28184a8
Improve config text
2024-08-27 17:54:49 -04:00
Alexander Neff
4a776651c1
Formating
2024-08-27 17:35:59 -04:00
Alexander Neff
1c19cbe836
Integrate new registry checks into existing code
2024-08-27 17:35:42 -04:00
Alex
62496a3863
Merge pull request #408 from cauan/patch-1
...
ldap-checker.py false positive fixed
2024-08-27 22:02:55 +02:00
Cauan
4a0f0381a6
Update ldap-checker.py
...
Changed catch all exception as suggesteed.
Signed-off-by: Cauan <[email protected] >
2024-08-27 14:32:41 +10:00
Cauan
34ac854a3c
ldap-checker.py Catch connection errors
...
Socket connection moved into the try/catch to catch connection errors.
Signed-off-by: Cauan <[email protected] >
2024-08-26 22:10:46 +10:00
Cauan
2de896cb49
ldap-checker.py false positive fixed
...
run_ldap return code changed from False to None when errors are found to avoid false positives such as when connection fails.
Signed-off-by: Cauan <[email protected] >
2024-08-26 21:59:10 +10:00
Vinoth Kumar
821f20e114
Merge branch 'main' into main
2024-08-26 09:16:34 +05:30
Alexander Neff
43c1d33904
Replaced DEPRECATED with REMOVED
2024-08-25 13:36:16 -04:00
Alexander Neff
24ad5e63e2
Readd old coercion modules for deprecation warning
2024-08-25 13:34:26 -04:00
Alexander Neff
2ac0d4d543
Merge "main" into "coerce_plus"
2024-08-25 13:17:38 -04:00
Alexander Neff
4ac77486d0
Formating
2024-08-25 13:12:15 -04:00
Alexander Neff
2419d2d4d8
Fix MSEven pipe and add ports
2024-08-25 13:09:21 -04:00
Alex
f9d3caab63
Merge pull request #399 from Pennyw0rth/NeffIsBack-patch-1
...
Add Unix availability to README.md
2024-08-25 16:28:24 +02:00
Vinoth Kumar
0cc6151a0b
Smbghost module
...
Module to scan for SMBGhost (CVE-2020-0796) Vulnerability
Signed-off-by: Vinoth Kumar <[email protected] >
2024-08-25 19:45:57 +05:30
Alexander Neff
cd9e1adcfd
Delete log level filter for file logging
2024-08-25 09:46:12 -04:00
0xQRx
a8954f1f32
Restore removed comment.
...
Signed-off-by: 0xQRx <[email protected] >
2024-08-24 18:52:46 -04:00
0xQRx
363691aa4f
added is_xp_cmdshell_enabled() function to check mssql if xp_cmdshell is already enabled, to avoid altering its state
2024-08-24 18:09:12 -04:00
wil
675480c5ca
Add file write check on smb
2024-08-24 19:45:52 +02:00
Alexander Neff
ee9409a387
Revert 0ca3c43 as this stops some messages from getting logged to file
2024-08-24 08:50:48 -04:00
Alexander Neff
f9799496ac
Change README
2024-08-24 07:59:47 -04:00
Alex
83514bf2a9
Merge pull request #374 from joaovarelas/main
...
Add module to lookup hostname of Hyper-V host - 'hyperv-host.py'
2024-08-24 13:37:47 +02:00
Alexander Neff
b9d788b8d4
Change Exception to DCERPCException and added debug log
2024-08-15 13:36:50 -04:00
joaovarelas
b59f252363
Merge branch 'Pennyw0rth:main' into main
2024-08-11 11:12:32 +01:00
Alex
db4c2fad2b
Add Unix availability to README.md
...
Signed-off-by: Alex <[email protected] >
2024-08-10 23:21:28 +02:00
Alexander Neff
375611cfd5
Add another success rpc error message
2024-08-04 19:02:04 -04:00
Alexander Neff
96bff4e3aa
Added ERROR_BAD_NETPATH to the positiv result list
2024-08-04 18:41:54 -04:00
Alexander Neff
d82ee41d5b
Remove auth_level as this breaks the coercion
2024-08-04 18:41:27 -04:00
Alexander Neff
af4a28d9b9
Enable manual linting runs for first time PRs
2024-08-04 16:47:56 -04:00
Alexander Neff
5810d14038
Updated pipeline to latest versions
2024-08-04 16:47:41 -04:00
Alex
739791e33b
Merge pull request #392 from Pennyw0rth/neff-fix-spider_plus
...
Fix spider_plus bug where len was applied to the count not an array
2024-08-04 22:38:27 +02:00
Alex
e982a68b44
Merge pull request #386 from Pennyw0rth/neff-sccm
...
Adding SCCM LDAP Reconnaissance to NetExec
2024-08-03 19:06:09 +02:00
Alexander Neff
66da98c318
Fix laps login with kerberos
2024-08-03 10:01:55 -04:00
Alexander Neff
069fb908b0
Fix issues where we need kerberos authentication logic, but implicitely use kerberos (e.g. --use-kcache)
2024-08-03 08:44:36 -04:00
Alexander Neff
1292f0f8fb
Fix spider_plus bug where len was applied to the count not an array
2024-08-02 11:57:09 -04:00
Alex
f8ac2e1ff1
Merge pull request #391 from glefait/patch-1
...
Fix: module spider_plus with filtered folders
2024-08-02 17:42:59 +02:00
Guillem Lefait
1839c0cb4c
Fix: module spider_plus with filtered folders
...
With option to filter folders is set and a folder matches the filter, there is a typo in the incremented counter.
The counter should be ` self.stats[f"num_{result_type}s_filtered"]` and not `self.stats[f"{result_type}s_filtered"]`.
The latter does not exists and trigger the following error:
```
KeyError: 'folders_filtered'
```
Signed-off-by: Guillem Lefait <[email protected] >
2024-08-01 11:01:16 -04:00
Alex
e76d4e98fe
Merge pull request #390 from Pennyw0rth/neff-fix-mssql_priv
...
Fix admin check in mssql_priv
2024-08-01 14:45:01 +02:00
joaovarelas
506486fa62
Merge branch 'Pennyw0rth:main' into main
2024-07-31 08:57:51 +00:00
Alex
a28c441ae2
Merge pull request #378 from nikaiw/check_admin_false_positive
...
Fix check admin false positive on certain target (e.g Netapp)
2024-07-28 19:59:29 +02:00
Alexander Neff
3db14d4de4
Formating
2024-07-28 12:49:35 -04:00
Alexander Neff
6afb8bba0b
Adding rpc auth level
2024-07-28 12:46:59 -04:00
Alexander Neff
7bb04c92b1
Formating
2024-07-27 18:05:17 -04:00
Alex
80d03ad3ee
Merge pull request #387 from Pennyw0rth/neff-fix-netbios
...
Stop NetBiosTimeout and error producing large stack traces
2024-07-27 20:52:09 +02:00
joaovarelas
b4612ea38c
trycatch and suppress errors mod hyperv-host.py
2024-07-27 19:05:59 +01:00
joaovarelas
11983af3fb
Merge branch 'Pennyw0rth:main' into main
2024-07-27 17:46:23 +00:00
Alexander Neff
41a21ee838
Fix admin check in mssql_priv
2024-07-27 10:59:38 -04:00
Alex
c0adbf1eb8
Merge pull request #389 from 3ldidi94/patch-1
...
Update handlekatz.py pypykatz import
2024-07-27 15:31:41 +02:00
3ldidi94
41b8fbb715
Update handlekatz.py
...
Fix pypykatz import in handlekatz
Signed-off-by: 3ldidi94 <[email protected] >
2024-07-27 13:31:20 +02:00
Alexander Neff
4504cf29d0
Add comment
2024-07-26 17:06:35 -04:00
Alexander Neff
693da7120b
Stop NetBiosTimeout and error producing large stack traces
2024-07-26 16:59:48 -04:00
Alexander Neff
413e5cd5d0
Fix display bug with ip and add creds to sccmhunter
2024-07-26 15:38:31 -04:00
Alexander Neff
f18c442a10
Finish SCCM string enumeration
2024-07-26 13:12:06 -04:00
zblurx
548b6d0c28
Merge pull request #384 from Pennyw0rth/zblurx-patch-1
...
Update dploot to 2.7.4 in pyproject.toml
2024-07-25 18:08:00 +02:00
zblurx
7b3145e6ec
udpate poetry.lock
2024-07-25 17:58:15 +02:00
zblurx
0234219daa
Update dploot to 2.7.4 in pyproject.toml
...
Signed-off-by: zblurx <[email protected] >
2024-07-25 17:47:58 +02:00
Alex
cb639c8854
Merge pull request #295 from Adamkadaban/dumpSecurityQuestionsModule
...
add new security-questions module
2024-07-23 20:24:07 +02:00
Alexander Neff
74dcef77ce
Add CAS attribute
2024-07-21 06:06:41 -04:00
termanix
18a857396c
Update ldap.py, added findDelegation
...
Signed-off-by: termanix <[email protected] >
2024-07-21 12:59:10 +03:00
termanix
176c480beb
Update proto_args, added find delegation
...
Signed-off-by: termanix <[email protected] >
2024-07-21 12:54:20 +03:00
Alexander Neff
21515206b4
Improve code readability
2024-07-20 17:34:49 -04:00
Alexander Neff
b9882167a3
Finish SCCM basic enumeration
2024-07-20 17:24:15 -04:00
NK
6a735c1619
add an option to ioxidresolver to get only interfaces IP for IP different than targets
2024-07-20 22:43:15 +02:00
NK
703191308a
Fix check admin false positive on certain target (e.g Netapp)
2024-07-20 22:00:06 +02:00
NK
be9ee13290
This module automate extraction of dpapi "hash" based on the user's protected masterkey
...
Big thanks to @Fist0urs for the awesome groundwork
This work was presented a long time ago see https://www.synacktiv.com/ressources/univershell_2017_dpapi.pdf
Currently the module is written to only generated dpapi "hash" in the context of a Domain
(Hashcat -m 15310 or -m 15900)
This is a first ugly version, lot of room for improvement
2024-07-20 21:48:47 +02:00
joaovarelas
f54deff68e
edited reg query fail msgs
2024-07-20 14:29:04 +01:00
joaovarelas
43da81861f
Merge branch 'Pennyw0rth:main' into main
2024-07-20 14:27:30 +01:00
Alex
398716de24
Merge pull request #376 from Pennyw0rth/neff-patch-2
...
Add try&except block for DCERPCExceptions to fix #373
2024-07-19 23:37:49 +02:00
Alexander Neff
4cb3b417d6
Resolve all computer dns_hostnames of all sids that have full controle over the sccm object
2024-07-19 16:51:57 -04:00
Alex
a1ca2697e3
Merge branch 'main' into neff-patch-2
2024-07-19 19:21:31 +02:00
Alex
8ed41498ff
Merge pull request #375 from Pennyw0rth/neff-patch-1
...
Fix ruff linting
2024-07-19 19:21:12 +02:00
Alexander Neff
ab0af5ab4a
Add try&except block for DCERPCExceptions and updated module
2024-07-19 12:27:24 -04:00
Alexander Neff
6651fb0698
Fix ruff linting
2024-07-19 12:11:58 -04:00
Alex
1839f7a5ac
Merge pull request #372 from Kamuno/fix-nla-format
...
Fixed nla detection and error format string
2024-07-19 18:07:57 +02:00
joaovarelas
8a6fb7c67a
add module hyperv-host.py
2024-07-19 16:25:39 +01:00
Christopher Beckmann
a1c57ee8d2
Fixed nla detection and error format string
2024-07-19 15:43:03 +02:00
Alexander Neff
280baadf07
Add try&except block for every user so we continue if the first fails
2024-07-18 18:39:45 -04:00
Alexander Neff
766ef1e81e
Update impacket
2024-07-18 18:26:56 -04:00
Alex
5ae4134ab7
Merge branch 'main' into dumpSecurityQuestionsModule
2024-07-19 00:25:54 +02:00
Alexander Neff
2575bce0d6
Swap bbreak with continue as we would only query the first user if he hasnt security questions
2024-07-18 18:23:59 -04:00
Alex
3a5c109fed
Merge pull request #371 from termanix/patch-5
2024-07-18 09:46:21 +02:00
termanix
5b186f4295
Update enum_av Added Trellix EDR
...
Signed-off-by: termanix <[email protected] >
2024-07-17 22:58:26 +03:00
termanix
e0faaf3dbf
Changed uid-brute for to keep consistency with SMB
2024-07-09 09:35:09 +03:00
termanix
d071631c1a
Update e2e_commands.txt - bruteforceuid added
...
Signed-off-by: termanix <[email protected] >
2024-07-08 18:26:49 +03:00
termanix
59b6bf8f76
Update proto_args.py
...
Signed-off-by: termanix <[email protected] >
2024-07-08 18:13:15 +03:00
termanix
7e52f8da69
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-07-08 17:08:39 +03:00
Alex
54cad53328
Merge pull request #365 from Pennyw0rth/neff-patch-1
...
Remove message that could be too annoying
2024-07-06 13:34:28 +02:00
Alexander Neff
e96c301721
Change fail log to debug
2024-07-06 07:04:50 -04:00
Alexander Neff
3c64d27c68
Remove message that could be too annoying
2024-07-06 06:49:40 -04:00
mpgn
71cb5e99ef
Merge pull request #361 from Pennyw0rth/dcom_fix
...
Fix mmcexec method thanks to @ippsec AND a lot of other small things
2024-07-06 12:11:36 +02:00
Alexander Neff
d036fa8c04
Fix kerberos authentication when NTLM is not available
2024-07-05 21:15:29 -04:00
Alexander Neff
fbf2546172
Fix laps login with kerberos
2024-07-05 18:18:57 -04:00
Alexander Neff
abb5f1d99a
Simplify error log
2024-07-05 15:55:41 -04:00
Alexander Neff
d9ce9e9b62
Remove unused import and simplify addition
2024-07-04 13:55:38 -04:00
Alexander Neff
4045bb4185
Deactivate kerberos auth when retrieved laps creds
2024-07-04 13:50:37 -04:00
Alexander Neff
9d8eeb80e1
Update lsassy to 3.1.12
2024-07-04 12:56:41 -04:00
mpgn
f17ea75de3
fix ruff
2024-07-04 18:19:36 +02:00
mpgn
18369b1739
Remove ntlm hash for laps (as not compatible with py10) + add dns_server option to laps
2024-07-04 18:12:12 +02:00
mpgn
3c89bcb19a
remove array (not great with a lot of users on the domain
2024-07-03 23:44:16 +02:00
mpgn
68c827dcf6
add try catch on db
2024-07-03 14:47:56 +02:00
mpgn
eb6be54ff1
fix kerberos support is not ntlm supported with fqdn machine name
2024-07-03 12:35:57 +02:00
mpgn
852e7819e5
fix ruff test
2024-07-02 23:44:58 +02:00
mpgn
42ce37d231
if ntlm not supported (only kerberos) big big stacktrace
2024-07-02 22:10:08 +02:00
mpgn
63e8295c46
if ldap connection failed when getting info, there is no need to continue to auth
2024-07-02 20:48:59 +02:00
mpgn
b86f675100
fix wrong return in loop
2024-07-02 17:11:56 +02:00
Alex
ccbeb4e402
Merge pull request #357 from termanix/patch-3
...
Small Bug Fix on Listing SMB Shares with Kerberos Auth
2024-07-02 17:01:19 +02:00
Alexander Neff
64e78fd7cd
Fixing shares function with kerberos and minor database stuff
2024-07-02 10:56:59 -04:00
Alex
d8f0f41d76
Merge pull request #364 from termanix/patch-4
...
Bug Fix While Using Bloodhound with --use-kcache Issue #363
2024-07-02 16:43:53 +02:00
Alexander Neff
9f3a77c2ab
Fix missing colon
2024-07-02 10:26:58 -04:00
termanix
63f2d6943d
Update ldap.py
...
swapped the execution&logging lines. For if there is an error on auth file
Signed-off-by: termanix <[email protected] >
2024-07-02 17:23:07 +03:00
termanix
c83895697f
Bug Fix While Using Bloodhound with --use-kcache Issue #363
...
Signed-off-by: termanix <[email protected] >
2024-07-02 17:05:34 +03:00
mpgn
98236804ab
fix stacktrace with logger
2024-07-02 15:21:32 +02:00
Alexander Neff
f9b61391ca
Add logging statement to dcom connection
2024-07-02 07:33:56 -04:00
Alexander Neff
5b931d0cfa
Fix add-computer if domain could not be resolved
2024-07-01 17:32:15 -04:00
Adamkadaban
0d5ac4e59e
fix find/replace nonsense
2024-06-30 18:07:55 -07:00
Adamkadaban
45e1f0815f
make variable names pythonic
2024-06-30 17:54:39 -07:00
Adam Hassan
21b1cfbb8c
Merge branch 'Pennyw0rth:main' into dumpSecurityQuestionsModule
2024-06-30 17:49:55 -07:00
Alexander Neff
018ad9dbe7
Working on SCCM enumeration
2024-06-30 20:25:22 -04:00
Alexander Neff
1f83e6393f
Fix bug where ldap parser would not parse all values of an attribute containing a list
2024-06-30 20:25:06 -04:00
mpgn
da088d9e60
fix args with bloodhound (report from discord)
2024-06-30 17:50:56 -04:00
mpgn
ce31e24111
add double quote
2024-06-30 17:38:35 -04:00
mpgn
aab22cf4bc
update require_admin
2024-06-30 17:33:55 -04:00
mpgn
6e391cad46
fix mmcexec method thanks to @ippsec
2024-06-30 17:00:16 -04:00
Alexander Neff
5f45bfcf37
Working on sccm recon
2024-06-28 12:10:22 -04:00
Alexander Neff
592793c718
Add missing requires_admin
2024-06-28 12:10:13 -04:00
termanix
5983b86b52
Small Bug Fix on Listing SMB Shares with Kerberos Auth
...
This is a bug I came across while working with Kerberos on another project. If the information of the user in the ticket is not in the database, it gives an index error cause of user_id is empty. I thought about adding the ticket information as user_id, but since it wouldn't have any meaning when it expired, I proceeded with pass.
Signed-off-by: termanix <[email protected] >
2024-06-25 18:51:32 +03:00
termanix
449f556dc1
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-06-25 16:05:38 +03:00
Alex
669a55fd98
Merge pull request #356 from Pennyw0rth/neff-fix-332
2024-06-25 00:26:55 +02:00
Alex
ead02d812e
Merge pull request #286 from termanix/New_Module_Bitlocker
2024-06-25 00:23:44 +02:00
Alex
cce5c32eb1
Merge pull request #293 from Sant0rryu/main
2024-06-24 00:37:59 +02:00
Alex
b0b4641724
Merge pull request #355 from bfnserra/patch-1
2024-06-24 00:36:37 +02:00
Alexander Neff
8bbab764c5
Change execution to cmd and fix bugs
2024-06-23 18:18:39 -04:00
Alexander Neff
4f5453ee09
Merge branch 'main' into bitlocker
2024-06-23 17:51:37 -04:00
Alexander Neff
9d32ea0a2b
Add exception handling to prevent crashes against linux hosts
2024-06-23 13:54:48 -04:00
termanix
b9d73524ee
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-06-22 16:39:55 +03:00
Nicolas Serra
e50f7acbd5
Update pso.py
...
Fix Typo (obersationWindow to observationWindow)
Signed-off-by: Nicolas Serra <[email protected] >
2024-06-21 19:12:03 +02:00
Alex
ada4905922
Merge pull request #354 from aelmosalamy/patch-1
...
fix: little typo in help args
2024-06-20 00:51:53 +02:00
Adham Elmosalamy
e13ec2776e
fix: little typo in help args
...
Signed-off-by: Adham Elmosalamy <[email protected] >
2024-06-20 01:30:30 +04:00
jubeaz
073938f67a
merge from main
2024-06-19 08:02:21 +02:00
Lodos2005
2ec51902a3
Add coerce_plus Module
2024-06-18 19:00:12 +03:00
Kahvi-0xFF
755113d3c7
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
447bded268
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
e7689542f2
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
cf8c1b19ca
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
27caff59d5
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
19ea1bc559
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
73b35eb0ea
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
d5bb6d9606
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Kahvi-0xFF
1e90103b4d
Update schtask_as.py
...
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-06-18 11:13:09 -04:00
Sébastien Miguel
5ccf0d3553
Update powershell_history.py
...
add description to module option
Signed-off-by: Sébastien Miguel <[email protected] >
2024-06-18 11:13:05 -04:00
Sébastien Miguel
8132bf73d3
Update powershell_history.py
...
Add the path to output file in the output
Signed-off-by: Sébastien Miguel <[email protected] >
2024-06-18 11:13:05 -04:00
Sébastien Miguel
1105dcdf52
Update powershell_history.py
...
Add export feature and some keywords
Signed-off-by: Sébastien Miguel <[email protected] >
2024-06-18 11:13:05 -04:00
Sébastien Miguel
bfed3d462b
Create powershell_history.py
...
First commit
Signed-off-by: Sébastien Miguel <[email protected] >
2024-06-18 11:13:05 -04:00
Adamkadaban
39b877a3f1
use context.log.fail instead of print and add debugging
2024-06-18 11:06:42 -04:00
Adamkadaban
da61939a0d
only import loads function from json.
2024-06-18 11:06:42 -04:00
Adamkadaban
3724142717
add security-questions module to e2e test
2024-06-18 11:06:42 -04:00
Adamkadaban
4919fe05fd
add comments to security-questions module
2024-06-18 11:06:42 -04:00
Adamkadaban
6838793301
ruff checks for security-questions module. all passing now
2024-06-18 11:06:42 -04:00
Adamkadaban
a579d2296a
more verbose answer for when user has no questions
...
this can happen when json is `{"version":1,"questions":[]}`
2024-06-18 11:06:42 -04:00
Adamkadaban
cc251e8b19
get rid of stray comment
2024-06-18 11:06:42 -04:00
Adamkadaban
dcee201380
make this a high privilege module
2024-06-18 11:06:42 -04:00
Adamkadaban
39006b1fed
add new security-questions module
...
this module will dump security questions and answers for all users on the machine assuming run as administrator
requires this PR to work: https://github.com/fortra/impacket/pull/1743
2024-06-18 11:06:42 -04:00
termanix
ea5426b468
Update nfs.py
...
Bruteforce-UID added.
Kerberos auth left.
Signed-off-by: termanix <[email protected] >
2024-06-17 20:55:02 +03:00
termanix
8c2155cae5
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-06-17 11:42:52 +03:00
termanix
0b5bad9ba0
Update nfs.py
...
UID Brute Force added (To Do, Brute number will be taken by user)
disconnection debug bug fixed
To Do Kerberos Auth
Signed-off-by: termanix <[email protected] >
2024-06-17 11:42:35 +03:00
Alexander Neff
c09304ef6c
Autoformat
2024-06-14 20:39:04 -04:00
Alexander Neff
008c490f5b
Reworked interface module to core functionality and fixed all its bugs
2024-06-14 20:38:29 -04:00
Alexander Neff
9d3bc4d071
Formating and ruff
2024-06-14 17:36:40 -04:00
Alex
3eaa1632c9
Merge branch 'main' into main
2024-06-14 16:46:48 -04:00
Alex
1af282888c
Merge pull request #344 from n00py/main
...
Add EnumAV Detection for Cortex XDR
2024-06-14 16:15:20 -04:00
Alex
f2311b308b
Merge pull request #345 from Anhydrite/main
...
Added domain name for --users with samr
2024-06-13 19:33:25 -04:00
Marshall Hallenbeck
65fc94f8dd
nfs: properly initialize table variables to None
2024-06-13 12:37:54 -04:00
Marshall Hallenbeck
7b37015b62
nfs: formatting, commenting, and small fixes
2024-06-13 11:14:17 -04:00
Marshall Hallenbeck
4c5844820f
nfs(db): add LIR and shares table and reflection; rename conn to sess
2024-06-13 11:07:26 -04:00
Marshall Hallenbeck
27b52e2da4
deps: add pynfsclient
2024-06-13 11:02:20 -04:00
termanix
d3c9d7258a
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-06-11 22:12:42 +03:00
Anhydrite
d44ed75076
Merge branch 'Pennyw0rth:main' into main
2024-06-11 17:21:42 +02:00
Anhydrite
271268a092
added domain name for --users with samr
2024-06-11 17:21:07 +02:00
n00py
cdffba942d
Update enum_av.py
...
Signed-off-by: n00py <[email protected] >
2024-06-11 08:35:36 -06:00
n00py
15f29a9c4f
Update enum_av.py
...
Signed-off-by: n00py <[email protected] >
2024-06-11 08:33:22 -06:00
n00py
08e3f17365
Update enum_av.py
...
Added signature for Cortex
Signed-off-by: n00py <[email protected] >
2024-06-11 08:31:33 -06:00
Alex
e4ca4f9fef
Merge pull request #343 from Anhydrite/main
2024-06-11 08:59:55 -04:00
Anhydrite
5f79c176ea
PR Fixes: changed logger success to display & added len
2024-06-11 14:38:03 +02:00
Anhydrite
3e18d2f588
Just added prints
2024-06-11 11:48:09 +02:00
Alex
c956dba3ab
Merge pull request #340 from Pennyw0rth/neff-os-detection
2024-06-10 13:36:48 -04:00
Alexander Neff
fbeab5fb5c
Fingerprint Samba
2024-06-09 18:15:20 -04:00
termanix
fbec1c7c31
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-06-09 15:34:10 +03:00
Marshall Hallenbeck
665f778dd0
Merge pull request #336 from Pennyw0rth/update_hash_tests
...
add testing hash file to e2e_commands.txt
2024-06-08 09:36:48 -04:00
Marshall Hallenbeck
791733853e
add testing hash file to e2e_commands.txt
2024-06-07 21:16:51 -04:00
Alex
eedbce83b6
Merge pull request #333 from Pennyw0rth/marshall-guest-login
...
Add output if a successful authentication is via Guest privileges
2024-06-07 19:58:11 +02:00
Alexander Neff
2bc18c5786
Fix Pwned spacing
2024-06-07 13:41:25 -04:00
termanix
71391b11de
Merge branch 'Pennyw0rth:main' into NFS-Protocol
2024-06-07 10:26:58 +03:00
Marshall Hallenbeck
e25988275a
Merge pull request #334 from fpreynaud/main
...
[NXCDB] Add support for CTRL-D
2024-06-06 10:49:35 -04:00
François REYNAUD
f3fb3d431f
[NXCDB] Add support for CTRL-D
2024-06-06 12:15:42 +02:00
Marshall Hallenbeck
0983df94db
fix: fix hash length since its 32/64 (not 16) and we need to consider the colon between NTLM hashes
2024-06-05 12:18:27 -04:00
Marshall Hallenbeck
bd8620125c
tests: add test hashes
2024-06-05 12:18:04 -04:00
Marshall Hallenbeck
aa38c7a18a
revert spacing for Admin/Guest output
2024-06-05 12:05:52 -04:00
Marshall Hallenbeck
f1894b2c6b
remove commited pyc files
2024-06-05 09:01:18 -04:00
Marshall Hallenbeck
3797ccf888
fix(ruff): E226
2024-06-05 08:37:44 -04:00
Marshall Hallenbeck
cfe231a9a1
feat(smb): check if successful login is guest privs
2024-06-05 08:37:24 -04:00
termanix
9cf6d983e2
Update e2e_commands.txt
...
Signed-off-by: termanix <[email protected] >
2024-06-04 12:26:15 +03:00
termanix
fbfef1b4b0
Update e2e_commands.txt
...
Added NFS
Signed-off-by: termanix <[email protected] >
2024-06-04 12:24:01 +03:00
termanix
80839d850e
New NFS Protocol
...
Signed-off-by: termanix <[email protected] >
2024-06-04 10:04:14 +03:00
Alex
67da598b11
Merge pull request #279 from sepauli/sepauli/fix-keepass_trigger
...
fix extract_password
2024-06-01 23:53:48 +02:00
Alexander Neff
efa0b75c10
Fix linting
2024-06-01 17:47:07 -04:00
Alex
2fa3e83ae9
Merge branch 'main' into sepauli/fix-keepass_trigger
2024-06-01 23:31:08 +02:00
Alex
6858958864
Merge pull request #327 from Pennyw0rth/ItsAlwaysDNS
...
ItsAlwaysDNS
2024-05-29 16:44:09 +02:00
Alexander Neff
03e25b708f
Merge branch 'main' into ItsAlwaysDNS
2024-05-29 10:30:04 -04:00
Alex
64319fdb3c
Merge pull request #326 from Pennyw0rth/marshall-windows-fixes
...
Windows Fixes for v1.2
2024-05-29 16:27:03 +02:00
Alexander Neff
8db769e290
Fix tests and remove unnecessary abspath
2024-05-28 09:38:12 +02:00
Shad0wC0ntr0ller
db3e7923fb
Update pre2k.py
...
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-05-27 20:40:16 -04:00
Shad0wC0ntr0ller
56feb10348
Identify Pre-Created Computer Accounts
...
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-05-27 20:04:58 -04:00
Alexander Neff
20e01f92eb
Version bump
2024-05-27 18:45:00 -04:00
Alexander Neff
9d70105230
More path fixes
2024-05-28 00:20:34 +02:00
Alexander Neff
69e47d15cb
Fix issues with hardcoded /tmp
2024-05-27 23:17:30 +02:00
Alexander Neff
bd7202d2c5
Fix test suite
2024-05-27 23:07:13 +02:00
Alexander Neff
63a78cb176
Fix ssh tests
2024-05-27 02:52:58 -04:00
Alexander Neff
b6c57ce13a
Change only git bash encoding to utf8
2024-05-27 08:05:09 +02:00
Alex
928b0d947e
Add utf-8 default to testing suite
2024-05-26 19:14:12 +02:00
Alex
68fb2d3e86
Change default encoding to utf-8
2024-05-26 19:04:36 +02:00
Alex
1111e11108
Add executable testing
2024-05-26 18:24:36 +02:00
Alexander Neff
d0f07b4138
Fix spec file for smb
2024-05-26 07:26:21 -04:00
sepauli
94e0ab62ea
fix typo
2024-05-25 18:58:29 +02:00
sepauli
061ee498bf
fix output for keepass2
2024-05-25 18:37:03 +02:00
Marshall Hallenbeck
53646f9d31
Merge branch 'main' into marshall-windows-fixes
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-25 11:02:18 -05:00
Alex
b855dac2b6
Merge pull request #315 from Pennyw0rth/neff-e2e_tests
2024-05-25 17:26:36 +02:00
Alexander Neff
404bff5e26
Merge branch 'main' into neff-e2e_tests
2024-05-25 10:51:19 -04:00
zblurx
ad923f842d
Merge pull request #225 from Pennyw0rth/passwords_dump_update
...
Passwords dump update
2024-05-25 13:44:53 +02:00
Marshall Hallenbeck
49f6f9cbfd
Merge branch 'main' into neff-e2e_tests
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-24 10:07:28 -05:00
Marshall Hallenbeck
f060aeb75f
Merge branch 'main' into passwords_dump_update
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-24 09:58:28 -05:00
Marshall Hallenbeck
630d32592e
Merge pull request #325 from Fabrizzio53/main
...
Added --dns-tcp,--dns-timeout and --dns-server parameters to the ldap protocol when using --bloodhound
2024-05-24 09:55:37 -05:00
Fabrizzio53
a4e9ef21ce
Update proto_args.py
...
Signed-off-by: Fabrizzio53 <[email protected] >
2024-05-23 23:22:16 -03:00
Fabrizzio53
ddb89b9a4b
Update ldap.py
...
Signed-off-by: Fabrizzio53 <[email protected] >
2024-05-23 23:21:57 -03:00
Marshall Hallenbeck
40862382f1
Merge pull request #321 from Pennyw0rth/marshall-options-fix
...
Refactor argparse options
2024-05-23 20:13:00 -05:00
Marshall Hallenbeck
3def5487ee
fix: add back in option that was accidentally removed during merge conflict
2024-05-23 20:00:03 -04:00
Marshall Hallenbeck
6b92270a38
fix(slinky): use proper TMP and allow custom shares to ignore
2024-05-23 11:07:36 -04:00
Marshall Hallenbeck
9879edffca
fix(paths): change TMP creation to if/else, so Windows properly sets
2024-05-23 11:07:05 -04:00
Marshall Hallenbeck
0983f7950e
dns: allow DNS options to be called anywhere on the command line
2024-05-22 17:08:34 -04:00
Marshall Hallenbeck
12a7fa0b2f
Merge branch 'main' into marshall-options-fix
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-22 15:11:49 -05:00
Marshall Hallenbeck
2191deebce
Merge pull request #309 from Pennyw0rth/neff-add-ldapquery
...
Add ldap query option
2024-05-22 15:06:01 -05:00
Marshall Hallenbeck
db41c0893a
Merge pull request #317 from Pennyw0rth/neff-command-execution
...
Improving execution speed and misc command execution improvements
2024-05-22 15:05:38 -05:00
Marshall Hallenbeck
06b1e066ba
Merge pull request #307 from Pennyw0rth/marshall-wcc-fix
...
Fix: WCC Module - do not create log file on every file load
2024-05-22 15:04:22 -05:00
Disgame
b1238fceb7
Merge branch 'Pennyw0rth:main' into timeroast_module
2024-05-22 15:48:03 +02:00
zblurx
9d6188eadf
fix doublespace
2024-05-22 10:06:01 +02:00
Marshall Hallenbeck
16508f89d4
Merge branch 'main' into marshall-options-fix
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-21 14:46:09 -05:00
Marshall Hallenbeck
ab23659c7f
fix(wcc): reduce spammy output for wcc (will fix this in a better way later); closes #232
2024-05-21 14:38:50 -05:00
Marshall Hallenbeck
42642016ba
remove newline
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-21 14:38:50 -05:00
Marshall Hallenbeck
6fdead466e
fix(wcc): remove unnecessary comments and whitespace
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-21 14:38:50 -05:00
Marshall Hallenbeck
d91e15413e
fix(wcc): do not create the wcc log file every time -L is ran, etc
2024-05-21 14:38:50 -05:00
Marshall Hallenbeck
de2541e212
tests: add more exec-method testss
2024-05-21 14:55:11 -04:00
zblurx
dba83a43f9
multiple fixes
2024-05-21 20:29:42 +02:00
Marshall Hallenbeck
4d6b3b3f71
tests: add exec-method tests for cmd
2024-05-21 13:09:01 -04:00
zblurx
67de1a1fa1
fix on dpapiSystem object
2024-05-21 17:49:51 +02:00
Marshall Hallenbeck
4afc67422a
ruff: apply ruff
2024-05-21 11:30:27 -04:00
Marshall Hallenbeck
cfbfeec7a7
tests: just always print failures, and remove option; update tmp folder logic, add put/get file tests for smb, and fix file referencing in tests
2024-05-21 11:30:07 -04:00
zblurx
57f35d453c
fix error message condition
2024-05-21 14:45:02 +02:00
zblurx
8a0dcf0429
Merge branch 'main' into passwords_dump_update
...
Signed-off-by: zblurx <[email protected] >
2024-05-21 14:24:24 +02:00
zblurx
dd7cbb6e74
fix ruff warnings
2024-05-21 14:19:06 +02:00
zblurx
85c44fa7bd
update e2e
2024-05-21 14:15:47 +02:00
zblurx
7e90d8082f
fixed sccm
2024-05-21 14:15:22 +02:00
zblurx
9b74ea59c3
update vnc
2024-05-21 12:46:05 +02:00
zblurx
1c740bd199
changed sccm to go as a core option
2024-05-21 10:39:01 +02:00
zblurx
f530cbdc58
add e2e commands for mremoteng and mobaxterm
2024-05-21 10:21:25 +02:00
zblurx
a07ee5f23f
update vnc module
2024-05-21 10:14:36 +02:00
Marshall Hallenbeck
f3b73ffdf2
fix(mssql): check if output isnt an empty list/None before trying to stringify it for output
2024-05-20 16:05:44 -04:00
Alexander Neff
b0e9fe24f9
Fix test paths
2024-05-20 13:50:31 -04:00
Alexander Neff
f58d7385aa
Merge branch 'main' into neff-e2e_tests
2024-05-20 12:54:36 -04:00
Alexander Neff
837f9a04a2
Fix "tries" logic due to merge and beautify code
2024-05-20 12:48:52 -04:00
Alexander Neff
2e73007281
Merge branch 'main' into neff-command-execution
2024-05-20 12:36:27 -04:00
Marshall Hallenbeck
cf231d5985
Merge pull request #296 from Pennyw0rth/marshall-pwsh-update
...
Refactor/fix/update PowerShell and related features
2024-05-20 11:27:28 -05:00
Marshall Hallenbeck
23a7d11eeb
fix: revert output for command execution and normalize it to what SMB was
2024-05-20 12:23:57 -04:00
Marshall Hallenbeck
e10e38f152
Merge branch 'main' into marshall-pwsh-update
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-20 11:09:01 -05:00
Marshall Hallenbeck
f8655022cf
fix(smb): change command output back to match mssql (one big blob)
2024-05-20 12:11:17 -04:00
Marshall Hallenbeck
d0a4afe19b
Merge pull request #196 from XiaoliChan/dns
...
[DNS] Add DNS args
2024-05-20 10:55:50 -05:00
Alex
ca01584f76
Merge pull request #318 from Pennyw0rth/Marshall-Hallenbeck-patch-1
...
fix(tests): add spaces & fix one file reference
2024-05-20 17:54:49 +02:00
Marshall Hallenbeck
bda8700a58
fix(tests): add spaces & fix one file reference
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-20 11:46:52 -04:00
Alexander Neff
447d1719c1
Add exec methods to e2e tests
2024-05-20 11:14:01 -04:00
Alexander Neff
4ffcc83bcc
Make execution methods more efficient and wait powershell execution if detectable
2024-05-20 10:50:48 -04:00
Alexander Neff
5655e5c0fd
Replace fixed default text with argparse default string
2024-05-20 09:33:46 -04:00
Alexander Neff
9be17e92d9
Fix wrong function call
2024-05-20 06:11:33 -04:00
Alexander Neff
0166a426f0
Merge branch 'main' into dns
2024-05-20 05:57:38 -04:00
Marshall Hallenbeck
65030d7662
Merge pull request #313 from Pennyw0rth/neff-fix-ssh
...
Handle paramiko error when bruteforcing
2024-05-19 16:47:00 -05:00
Marshall Hallenbeck
198f8f8a79
Merge pull request #314 from Pennyw0rth/marshall-tests-fix
...
Fix for tests referencing files, password/username variable, and a couple KERBEROS space issues
2024-05-19 16:46:13 -05:00
Marshall Hallenbeck
47b1c1f738
fix(wmi): add auth_level to kerberos auth, revert my previous changes, move Impacket silencing, add debugging
2024-05-19 17:41:38 -04:00
Alex
7afb4afd35
Merge branch 'main' into sepauli/fix-keepass_trigger
2024-05-19 23:40:10 +02:00
Alexander Neff
4bc012655d
Remove left over code
2024-05-19 17:12:01 -04:00
Alexander Neff
1fce072cbe
Merge branch 'marshall-tests-fix' into neff-e2e_tests
2024-05-19 17:00:10 -04:00
Alexander Neff
c1d52364b3
Removing retries logic
2024-05-19 16:51:49 -04:00
Marshall Hallenbeck
2f098f2420
fix(tests): improve data directory finding so you can run tests in root dir or tests dir and the path names should resolve
2024-05-19 15:17:51 -05:00
Alexander Neff
d2760dc287
Added error handling for paramiko internals
2024-05-19 13:06:01 -04:00
Alexander Neff
7cf94d297b
Create connection object for every auth request
2024-05-19 12:36:19 -04:00
Alexander Neff
393b607a1b
Adding a banner_timeout as this might fix #312 according to https://github.com/paramiko/paramiko/issues/1752#issuecomment-979219861
2024-05-19 08:59:12 -04:00
Alexander Neff
a98bfab28d
Add timeout to the plaintext login
2024-05-19 08:51:42 -04:00
Alexander Neff
407e707847
Remove --options tests as they dont provide any additional value
2024-05-19 08:48:16 -04:00
Alexander Neff
5e255bc17c
Fix brute force tests with cwd path
2024-05-18 21:12:09 -04:00
Alexander Neff
18d519dd68
Disable rdp module and add putty tests
2024-05-18 21:09:24 -04:00
Alexander Neff
b3c1e4f5c2
Delete deprecated bh_owned module
2024-05-18 21:08:55 -04:00
Alexander Neff
45b03e78d5
Improve testing and add retries
2024-05-18 21:08:20 -04:00
termanix
763cf57c18
Merge branch 'main' into New_Module_Bitlocker
2024-05-18 19:52:21 +03:00
Marshall Hallenbeck
65a41b8408
Merge branch 'main' into dns
2024-05-17 19:37:10 -05:00
Marshall Hallenbeck
5197a0eaf3
Merge pull request #310 from Pennyw0rth/marshall-pr-template-fix
...
fix: move PR template to the correct location
2024-05-17 19:26:23 -05:00
Enrico Belgiovine
e7d30329ed
fix: ruff check
2024-05-18 01:39:27 +02:00
Marshall Hallenbeck
e2e0297a3a
Merge remote-tracking branch 'XiaoliChan/dns' into pr-196
2024-05-17 19:37:59 -04:00
Marshall Hallenbeck
95ac1af00a
fix(wmi): handle Kerberos auth failures and return proper error codes
2024-05-17 19:33:58 -04:00
Alex
078b0ff451
Merge branch 'main' into dns
2024-05-18 01:20:16 +02:00
Marshall Hallenbeck
cdd62033ea
fix: move PR template to the correct location
2024-05-17 19:14:18 -04:00
Enrico Belgiovine
4143073123
fix: moved display Information out of logic
2024-05-18 01:04:40 +02:00
Enrico Belgiovine
a636fb45ae
feat: new option to retrieve old hashes
2024-05-18 01:01:45 +02:00
Enrico Belgiovine
56795fc713
feat: timeroast.py implemented as netexec module
2024-05-18 00:43:57 +02:00
termanix
610bad1bae
Update bitlocker.py
...
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix
0aaad63819
Update bitlocker.py
...
Fixed smb error line.
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix
406507e8de
Update bitlocker.py
...
Updated according to the new powershell update.
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix
6c4e8ead5e
Update e2e commands
2024-05-17 14:18:38 -05:00
termanix
5ff488eae5
Fixed ruff checks bitlocker.py
...
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix and Adamkadaban
c354978fa1
Update bitlocker.py
...
Fixed a bug, if bitlockervolume and namespace does not exist.
Co-authored-by: Adamkadaban <[email protected] >
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix and Adamkadaban
50ed8279e1
Update bitlocker.py
...
Co-authored-by: Adamkadaban <[email protected] >
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix
f55cbf6f23
Update bitlocker.py
...
Using WMI command
Signed-off-by: termanix <[email protected] >
2024-05-17 14:18:38 -05:00
termanix
219deaf073
BitLocker
2024-05-17 14:18:38 -05:00
Alexander Neff
a2d43caa2a
Add ldap query option
2024-05-17 13:24:09 -04:00
Marshall Hallenbeck
cd088a0bd7
fix(ruff): ignore oneliner alert
2024-05-17 12:25:26 -04:00
Marshall Hallenbeck
736db4dbd7
update force_ps32 if/then for readability (and add Ruff ignore - blame Neff!)
2024-05-17 11:10:05 -04:00
Marshall Hallenbeck
6213c6456d
remove blank line
2024-05-17 10:56:54 -04:00
Marshall Hallenbeck
4ae085403d
remove excess tab
2024-05-17 10:56:29 -04:00
Marshall Hallenbeck
e4925d301d
clarify debug message
2024-05-17 10:53:53 -04:00
Marshall Hallenbeck
ca3291877a
update error when execution is blocked by AMSI
2024-05-17 10:52:57 -04:00
Marshall Hallenbeck
0910b98af6
docs: update options to clarify what certain flags are for
2024-05-17 10:51:52 -04:00
Marshall Hallenbeck
aa9b044e7b
Merge pull request #308 from Pennyw0rth/marshall-hash-spider-fix
...
Fix: hash_spider Lsassy Parser syntax
2024-05-17 09:29:27 -05:00
Alexander Neff
34c3c29266
Remove hash_spider setting logging attributes (they are wrong anyway)
2024-05-17 10:19:32 -04:00
Marshall Hallenbeck
730b57248d
fix(hash_spider): update calling lsassy Parser since it was changed 4 months ago
2024-05-17 09:28:55 -04:00
Marshall Hallenbeck
98244994b9
tests: add hash spider test db to gitignore
2024-05-17 09:28:31 -04:00
Marshall Hallenbeck
152958ed13
fix: remove restrictions on smb and ldap port choice
2024-05-16 21:09:40 -04:00
Marshall Hallenbeck
eb7707a076
refactor(args): update remaining protos to use new default formatter for printing arg defaults
2024-05-16 21:08:44 -04:00
Marshall Hallenbeck
913c760115
tests: re-enable rdp options and fix wmi rdp call
2024-05-16 20:51:39 -04:00
Marshall Hallenbeck
c06198807d
fix(cli): remove secondary aeskey and kdchost long form options since its not possible to use two
2024-05-16 20:49:32 -04:00
Alex
7b5306c92c
Merge branch 'main' into marshall-pwsh-update
2024-05-17 02:24:25 +02:00
Marshall Hallenbeck
66bdcdf1ab
fix command exec method group naming
2024-05-16 20:16:44 -04:00
Marshall Hallenbeck
b5bc29db25
feat(args): add additional, more pythonic options for cmd args
2024-05-16 20:15:50 -04:00
Marshall Hallenbeck
12141907df
feat(smb): show defaults if not None/empty if they are set
2024-05-16 20:13:30 -04:00
Marshall Hallenbeck
f021cde6f4
refactor(args): change Authentication to its own arg section and show defaults if set and not None/empty/etc
2024-05-16 20:12:51 -04:00
jubeaz
dffd862595
linting
2024-05-17 02:05:57 +02:00
Marshall Hallenbeck
e16a66af6d
refactor(smb args): update smb arg parsing naming to make sense
2024-05-16 19:51:27 -04:00
Marshall Hallenbeck
70a99a7da5
feat(options): change how args are parsed and passed, allowing --debug, etc to be used anywhere
2024-05-16 18:26:18 -04:00
jubeaz
46574d41f6
Merge branch 'Pennyw0rth:main' into module_wcc_add_defender
2024-05-16 21:22:27 +02:00
Marshall Hallenbeck
e3baadb108
Merge pull request #249 from Pennyw0rth/neff-putty
...
Add PuTTY module and fix WinSCP
2024-05-16 13:44:41 -05:00
mpgn
c7c1f06323
Merge pull request #265 from Pennyw0rth/mpgn-patch-1
...
Update test.yml to include pipx install
2024-05-16 16:46:12 +02:00
mpgn
d23669b5d0
Update test.yml
...
Signed-off-by: mpgn <[email protected] >
2024-05-16 08:53:37 +02:00
mpgn
b1b64a8e23
Update test.yml to remove line
...
Signed-off-by: mpgn <[email protected] >
2024-05-16 08:53:37 +02:00
mpgn
c64366068c
Update test.yml to include pipx install
...
#252
Signed-off-by: mpgn <[email protected] >
2024-05-16 08:53:37 +02:00
Alexander Neff
59c6033bc7
Add proxycreds saving to file
2024-05-15 19:27:04 -04:00
jubeaz
1c965cb5f1
Merge branch 'main' into module_wcc_add_defender
2024-05-15 03:30:38 +02:00
jubeaz
4815249c78
update Defender checks
2024-05-15 03:19:19 +02:00
Alex
94a0b7adad
Merge pull request #305 from Pennyw0rth/neff-patch-bloodhound
2024-05-15 02:15:09 +02:00
Alexander Neff
faf7f18224
Revert a9bd576392
2024-05-14 20:09:52 -04:00
Alexander Neff
a79680aeff
Add timestamp to save file
2024-05-14 19:39:42 -04:00
Marshall Hallenbeck
a194fda283
Merge pull request #298 from termanix/patch-2
...
Update e2e_commands.txt
2024-05-14 12:54:03 -05:00
Marshall Hallenbeck
9f61d8ba3b
Merge pull request #304 from Pennyw0rth/fix-dependency
...
fix issue #252
2024-05-14 12:53:48 -05:00
mpgn
aff33d677e
fix issue #252
2024-05-14 17:09:01 +02:00
jubeaz
ae6b659749
Add Defender conf check
2024-05-14 02:31:20 +02:00
Alexander Neff
f4bac9b92f
Revert logging change to original state
2024-05-12 18:52:34 -04:00
Alexander Neff
d644ac1499
Correct comment
2024-05-12 18:46:11 -04:00
Alexander Neff
f92f7f585f
Merge branch 'main' into dns
2024-05-12 18:44:22 -04:00
Alexander Neff
06e107dd10
Remove "remoteHost" in favour of "host" to keep only one variable, also some formatting
2024-05-12 18:35:05 -04:00
Marshall Hallenbeck
76a01909bb
Merge pull request #299 from Pennyw0rth/Marshall-Hallenbeck-patch-1
...
Create Pull Request Template
2024-05-12 14:48:52 -05:00
Alex
c699c6da74
Merge pull request #291 from Pennyw0rth/neff-jitter
...
Change jitter option to throttle authentications
2024-05-12 20:42:35 +02:00
Sant0rryu
169a7dc148
Update interface.py
...
Fixed Ruff checks
Signed-off-by: Sant0rryu <[email protected] >
2024-05-12 16:30:25 +02:00
Alex
0cf9d72983
Merge pull request #282 from wumb0/281-multi-file-put
2024-05-12 11:58:37 +02:00
Alex
6c148c6ac8
Merge branch 'main' into neff-putty
2024-05-12 02:56:45 +02:00
Marshall Hallenbeck
c56f08704e
Merge branch 'main' into marshall-pwsh-update
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-11 19:36:08 -05:00
Alexander Neff
4cc6676e12
Renaming input target variable inside connection object
2024-05-11 18:00:30 -04:00
Alexander Neff
f49f890226
Formating and stuff
2024-05-11 15:20:13 -04:00
Marshall Hallenbeck
574afc0d5e
Merge branch 'main' into 281-multi-file-put
2024-05-11 11:38:45 -05:00
Marshall Hallenbeck
535a1061b6
Merge pull request #297 from Pennyw0rth/marshall-tests-byid
...
Feat: Allow for running specific e2e tests by line number
2024-05-10 18:43:12 -05:00
Alexander Neff
93441f2190
Add screenshot section to PR template
2024-05-10 17:41:09 -04:00
Marshall Hallenbeck
daede6d00a
fix english
2024-05-10 15:52:11 -04:00
Marshall Hallenbeck
5c39381dfc
docs: update feature_request.md to include proper template code
2024-05-10 15:51:28 -04:00
Marshall Hallenbeck
aedfc37a19
Create pull_request_template.md
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-05-10 15:44:24 -04:00
Marshall Hallenbeck
0586d844a7
fix(tests): only print failure line if there were failures
2024-05-10 15:30:36 -04:00
termanix
9e68ba5602
Update e2e_commands.txt
...
WMI moved to after SMB, removed a few flags for now.
Signed-off-by: termanix <[email protected] >
2024-05-10 22:22:02 +03:00
termanix
3b1ca12ef0
Update e2e_commands.txt
...
Removed bitlocker modules for adding to #286
Signed-off-by: termanix <[email protected] >
2024-05-10 21:57:02 +03:00
Marshall Hallenbeck
a5e61bf6ac
feat(tests): allow for specifying certain line numbers, allow for printing all failed commands, and properly use single quotes for linux
2024-05-10 14:48:09 -04:00
termanix
bb8f30bd9f
Update e2e_commands.txt
...
Added SMB bitlocker module, added WMI some flags and all modules.
Signed-off-by: termanix <[email protected] >
2024-05-10 21:46:58 +03:00
Marshall Hallenbeck
27a0b78a86
tests: add and update tests related to powershell
2024-05-10 11:37:59 -04:00
Marshall Hallenbeck
ca74acd1b1
fix(met_inject): simplify metasploit cradle, add logging, and update documentation; related to #223
2024-05-10 11:37:41 -04:00
Marshall Hallenbeck
27014a5b25
feat(powershell): large amount of fixes and improvements
...
- large amount of debugging added to powershell
- powershell helper refactored to fix obfuscation, running in 32 bit mode, encoding, etc
- turn off obfuscation by default for powershell, since defender picks it up easily
- turn off amsi-bypass by default, since it was an incredibly old signatured bypass (users can still pass in their own)
- check if virus detected in wmiexec
- more error checking for powershell
- update mssql powershell to match smb
- more error checking for mssql queries
- better handling of quotes for powershell queries, since we have almost 4 layers of quoting (python, mssql, cmd, powershell)
2024-05-10 11:32:16 -04:00
Marshall Hallenbeck
90877ddd63
feat(tests): allow for specifying certain line numbers, allow for printing all failed commands, and properly use single quotes for linux
2024-05-10 10:59:40 -04:00
Marshall Hallenbeck
85bcbf312c
fix(powershell): fix running via ps32, both with and without obfuscation
2024-05-09 13:06:25 -04:00
Marshall Hallenbeck
eb9bf61790
powershell: update powershell parameters, clean up code, and add debugging
2024-05-09 11:58:29 -04:00
Marshall Hallenbeck
2172231729
refactor: remove unnecessary new lines
2024-05-08 14:49:57 -04:00
Alexander Neff
f0b2d3984c
Add more jitter to e2e tests
2024-05-08 13:59:43 -04:00
Marshall Hallenbeck
04df1e7641
smb: properly obfs or not depending on args
2024-05-08 12:24:57 -04:00
Marshall Hallenbeck
e342c3e26f
tests: add what was our default amsi bypass for testing
2024-05-08 12:24:37 -04:00
Marshall Hallenbeck
b219e8f7e0
pwsh: remove commented code and remove easily detected amsi bypass (default to none)
2024-05-08 12:24:18 -04:00
Alexander Neff
97c729c62d
Add jitter to e2e tests
2024-05-08 06:31:16 -04:00
Sant0rryu
3deabf5787
Adding module to retrieve network interfaces info
...
Signed-off-by: Sant0rryu <[email protected] >
2024-05-07 17:17:14 +02:00
Marshall Hallenbeck
61a2cf1a72
Merge branch 'main' into dns
2024-05-05 17:52:02 -05:00
Alexander Neff
a2f856d6c4
Add comments
2024-05-05 17:58:45 -04:00
Alexander Neff
2770a52ed8
Convert jitter into authentication throttle
2024-05-05 17:51:19 -04:00
Marshall Hallenbeck
a677b37414
Merge pull request #290 from Pennyw0rth/marshall-fix-logging
...
Reduce third party debug logging
2024-05-05 12:15:19 -05:00
Alexander Neff
4b4036a5a1
Fixing password decryption length
2024-05-05 12:29:49 -04:00
Alexander Neff
193d49cee9
Add realvnc proxy credential looting
2024-05-05 11:26:46 -04:00
Marshall Hallenbeck
8560f7b921
Merge branch 'main' into dns
2024-05-04 14:30:58 -05:00
Marshall Hallenbeck
0ca3c43f02
fix(logger): set overall logging level to INFO for third party loggers instead of DEBUG when --debug is set
2024-05-03 15:48:49 -04:00
Marshall Hallenbeck
045a9649fd
fix(logger): set exc_text to error text if it is none (found via 288)
2024-05-03 15:36:40 -04:00
Alex
25f0b59842
Merge pull request #285 from Pennyw0rth/neff-fix-bin
2024-04-30 20:55:26 +02:00
Alexander Neff
d8bd8e14b9
Fix #284
2024-04-30 14:35:30 -04:00
Alexander Neff
e1f4759faf
Merge main into passwords_dump_update
2024-04-29 17:02:12 -04:00
wumb0
3216380291
Merge branch 'main' into 281-multi-file-put
2024-04-29 13:09:03 -04:00
wumb0
abfd76cf4f
remove uneeded logic from put_file and get_file
2024-04-29 09:10:39 -04:00
Alex
4eb9838cfb
Merge pull request #283 from Pennyw0rth/Marshall-Hallenbeck-patch-1
2024-04-29 02:48:02 +02:00
Marshall Hallenbeck
f1976ac721
Create feature_request.md
...
add generic feature_request template from https://github.com/go-fed/activity/blob/master/.github/ISSUE_TEMPLATE/feature-request-template.md
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-04-28 19:32:39 -05:00
wumb0
fe1064b333
also added multi-file get
2024-04-28 12:46:13 -04:00
wumb0
8fb9bc0d75
add multi-file put, keeping compatibiltiy with old format (tuple) -
...
Pennyw0rth/NetExec#281
2024-04-28 12:39:37 -04:00
Marshall Hallenbeck
52d45116e4
Merge pull request #269 from Pennyw0rth/neff-dependencies
...
Updating dependencies
2024-04-27 20:01:21 -05:00
Alexander Neff
ab5966f8d9
Fix lint error
2024-04-27 18:38:44 -04:00
Alex
c2a266923f
Merge branch 'main' into neff-dependencies
2024-04-28 00:35:16 +02:00
Alex
62dcc28048
Merge pull request #250 from Pennyw0rth/neff-fix-modules
...
Fix bug where modules would be the same object across protocols
2024-04-28 00:15:16 +02:00
Marshall Hallenbeck
9a054871c4
Merge pull request #271 from Pennyw0rth/neff-asreproast
...
Fixing #263
2024-04-27 15:57:36 -05:00
Marshall Hallenbeck
60db63436e
Merge pull request #277 from sepauli/sepauli/fix-mssql_priv
...
fix mssql_priv
2024-04-27 15:37:54 -05:00
Alexander Neff
d7918cd655
Fix context logger in different modules
2024-04-27 16:34:11 -04:00
sepauli
4e0b44f6a6
fix extract_password
2024-04-27 22:29:55 +02:00
Alexander Neff
768d462844
Fix context logger in mssql_priv
2024-04-27 08:51:00 -04:00
sepauli
a6271cef24
fix is_admin_user function
2024-04-26 23:58:51 +02:00
sepauli
fe0ec9c040
fix mssql_priv
2024-04-26 23:29:00 +02:00
Alexander Neff
0d84189d7f
Show exception only in debug mode
2024-04-25 15:45:28 -04:00
Marshall Hallenbeck
0ffa19debf
Merge pull request #272 from Pennyw0rth/neff-fix-ssh
...
Fix ssh auth message
2024-04-25 10:09:57 -04:00
Alexander Neff
18c3fd0b30
Add msldap to fix #274
2024-04-23 18:16:10 -04:00
Alexander Neff
d9ce7a45df
Keep backwards compatability with datetime
2024-04-21 16:55:48 -04:00
Alex
1f8a0ef491
Merge pull request #270 from exploide/ldap-checker-py3.12
...
ldap-checker: fix for Python 3.12 compatibility
2024-04-21 15:28:08 -04:00
Alex
1ca2fd51b2
Merge pull request #248 from termanix/update_active_users
...
Ldap active users bug fix
2024-04-21 15:04:13 -04:00
Alexander Neff
71f9fdaa3f
Change privilege feedback
2024-04-21 14:03:40 -04:00
Alexander Neff
5208c42aaa
Fix ssh auth message
2024-04-21 12:53:49 -04:00
exploide
b08c509b3c
ldap-checker: use SSLContext.wrap_socket() instead of ssl.wrap_socket() for Python 3.12+ compatibility
2024-04-21 17:44:47 +02:00
Alexander Neff
f649c04d0d
Check if we got a TGT
2024-04-21 11:16:35 -04:00
Alexander Neff
798770479a
Remove deprecated utcnow() function, add better exception handling and fix bug where bool instead of None would be returned
2024-04-21 11:10:28 -04:00
Alexander Neff
12779c43f4
Change strings to format strings, to prevent concatination errors
2024-04-21 11:09:46 -04:00
Alexander Neff
32bc19a0d5
Add logging statement if useraccountcontrol is none
2024-04-21 10:44:50 -04:00
Alexander Neff
bc4416d567
Change CRLF to LF to match all other files
2024-04-20 20:03:22 -04:00
Marshall Hallenbeck
84cecd5968
Merge branch 'main' into dns
2024-04-20 13:41:26 -04:00
Alexander Neff
992ddc82b4
Updating dependencies to reflect critically needed packages and current kali installations
2024-04-19 21:39:48 -04:00
Alexander Neff
f0fa89b88d
Sorting dependencies
2024-04-19 20:58:47 -04:00
Alexander Neff
f3fd612b56
Update lsassy to 3.1.10
2024-04-18 15:07:10 +02:00
mpgn
cd363e97ad
Update lsassy.py
...
it's breaking since update to 3.1.9
Signed-off-by: mpgn <[email protected] >
2024-04-18 15:07:10 +02:00
Alex
4e98f7bb02
Merge pull request #259 from Pennyw0rth/fix_computers_enum
2024-04-17 17:50:42 -04:00
zblurx
16c6ebfe1a
fix computers enum
2024-04-17 13:07:25 +02:00
Alex
9662ef69a2
Merge pull request #257 from Pennyw0rth/neff-fix-too-many-files
...
Fix "Too many open files"
2024-04-16 14:33:03 -04:00
Alexander Neff
5d70195b93
Fix "Too many files" error from discord
2024-04-16 14:02:04 -04:00
Marshall Hallenbeck
7d44b11c2b
Merge pull request #255 from Pennyw0rth/marshall-slinky-update
...
Update Slinky module
2024-04-15 20:09:11 -07:00
Marshall Hallenbeck
9e43aab3ee
revert STATUS_LOGON_FAILURE change
2024-04-15 13:40:00 -04:00
Marshall Hallenbeck
89d3790aa4
feat(slinky): add SHARES and ICO_URI options; no longer try to write to SYSVOL share
2024-04-13 10:50:21 -07:00
Marshall Hallenbeck
fcecda3696
smb(errors): add STATUS_LOGON_FAILURE to errors
2024-04-13 10:50:21 -07:00
Alex
46a97cc3a3
Merge branch 'main' into neff-fix-modules
2024-04-13 02:23:16 +02:00
Alex
d19b5243f1
Merge pull request #254 from Pennyw0rth/neff-ssh
...
Fix ssh authentication with encrypted ssh file
2024-04-13 01:42:59 +02:00
Alexander Neff
4cabffb525
Fix ssh auth with all key files and fix password processing, also add better exception handling
2024-04-12 16:00:05 -04:00
Alexander Neff
b0ccbe28e9
Fix ssh authentication with encrypted ssh file
2024-04-12 15:27:35 -04:00
XiaoliChan
b39198aef7
Merge branch 'main' into dns
...
Signed-off-by: XiaoliChan <[email protected] >
2024-04-12 23:31:35 +08:00
Marshall Hallenbeck
af9656eaee
Merge pull request #251 from scottymiller9/main
...
fixed one grammar error repeated in several files
2024-04-08 11:31:26 -07:00
Scott Miller
ca09910606
fixed one grammar error repeated in several files
2024-04-08 05:25:06 +00:00
Alex
32b96c23fb
Merge branch 'main' into update_active_users
2024-04-07 16:17:28 +02:00
Alexander Neff
60c95ba8f6
Add proxy username and password
2024-04-06 19:55:27 -04:00
Alexander Neff
06415348dc
Fix bug where modules would be the same object across protocols
2024-04-06 14:07:05 -04:00
Marshall Hallenbeck
9359ac26da
Merge pull request #237 from Pennyw0rth/marshall-bugfix-3292024
...
bugfixes: add-computer & nanodump modules
2024-04-05 10:47:51 -07:00
Alex
2d7ac3c8f1
Merge pull request #246 from Pennyw0rth/neff-fix-168
2024-04-05 13:09:38 -04:00
Alex
b123a4dc8f
Merge branch 'main' into neff-putty
2024-04-05 12:02:37 -04:00
Alexander Neff
a03e7720ed
Add class annotation and module description
2024-04-05 11:56:25 -04:00
Alexander Neff
4ab7a39d25
Improve Code
2024-04-05 11:53:30 -04:00
Alexander Neff
b5b2598995
Clean up code
2024-04-05 11:29:46 -04:00
Alexander Neff
b85543d93c
Change output formating
2024-04-05 11:21:56 -04:00
Alexander Neff
9b57d62354
Remove conusing example init parameter
2024-04-05 11:20:05 -04:00
Alexander Neff
52dd4fea15
Fix bug when registry for master password check does not exist
2024-04-05 10:56:15 -04:00
Alexander Neff
2f32d18f18
Improve code
2024-04-05 10:47:45 -04:00
Alexander Neff
4b8a44e64b
Add putty module
2024-04-05 10:28:43 -04:00
termanix
09f45e866c
Update ldap.py
...
Fixed ruff spaces
Signed-off-by: termanix <[email protected] >
2024-04-04 23:35:05 +03:00
termanix
98e7128293
Update ldap.py
...
Fixed ruff
Signed-off-by: termanix <[email protected] >
2024-04-04 23:31:09 +03:00
termanix
3523cd69cf
Update ldap.py
...
Change variable name.
Signed-off-by: termanix <[email protected] >
2024-04-04 22:22:53 +03:00
termanix
bd5a645571
Ldap active users bug fix
2024-04-04 22:17:53 +03:00
Alex
2f62e1c875
Merge pull request #247 from Pennyw0rth/neff-fix-binary
2024-04-04 14:54:13 -04:00
Alex
044f63b8f3
Merge branch 'main' into neff-fix-binary
2024-04-04 13:38:58 -04:00
Alexander Neff
0a42ebb6ec
Add missing packages to spec file, fixing ldap and pso module
2024-04-04 12:20:38 -04:00
Alex
6104b5d27b
Merge branch 'main' into marshall-bugfix-3292024
2024-04-04 11:59:28 -04:00
Alex
3be7a02810
Merge pull request #244 from Pennyw0rth/neff-fix-145
...
Fix tmp PATH on windows for msol and scuffy
2024-04-04 11:59:06 -04:00
Alexander Neff
13ca79f44f
Add verbosity to dpapi, so the user knows if no secrets were found
2024-04-04 11:49:31 -04:00
XiaoliChan
393bc40e8c
Bug fix
...
Signed-off-by: XiaoliChan <[email protected] >
2024-04-04 00:23:09 +08:00
Alexander Neff
dbc67e5ef8
Remove left over brackets
2024-04-03 11:05:07 -04:00
XiaoliChan
3f1fa69bdc
remove condition
...
Signed-off-by: XiaoliChan <[email protected] >
2024-04-03 22:55:34 +08:00
Alex
34ebd5ad54
Fix tmp PATH on windows
2024-04-03 16:52:07 +02:00
XiaoliChan
f5bb1fc65f
Conflict fix
...
Signed-off-by: XiaoliChan <[email protected] >
2024-04-03 22:49:37 +08:00
zblurx
1f2a29fb90
update poetry
2024-04-03 15:19:54 +02:00
zblurx
205b31b08a
update poetry.lock
2024-04-03 10:44:00 +02:00
zblurx
8a23958bd7
update pyproject.toml
2024-04-03 10:43:18 +02:00
zblurx
f00a3ae483
Merge branch 'main' into passwords_dump_update
...
Signed-off-by: zblurx <[email protected] >
2024-04-03 10:40:50 +02:00
zblurx
6e28e3580d
add mobaxterm module
2024-04-03 10:37:24 +02:00
Alex
5c249d59e5
Merge pull request #239 from Pennyw0rth/marshall-version-setting
...
Add git commit to version command
2024-04-02 16:14:41 -04:00
Alexander Neff
3e3b37fe1a
Fixing lock file
2024-04-02 15:39:48 -04:00
Marshall Hallenbeck
6856d2696a
feat(logging): parse debug and verbose args early, so we can properly debug log during cli_arg generation
2024-04-02 13:35:47 -04:00
Alexander Neff
59297e83d5
Fixing lock file
2024-04-02 07:32:56 -04:00
Alexander Neff
41992be628
Merging main into marshall-version-setting
2024-04-02 07:30:36 -04:00
Alex
da7c507f3f
Merge pull request #126 from Kahvi-0/main
...
--kerberoast Improvement
2024-04-01 20:57:46 -04:00
Alex
72eeb7e31d
Merge branch 'main' into main
2024-04-01 19:46:20 -04:00
Alex
cd0d3c8f41
Merge pull request #234 from Pennyw0rth/remove-git-deps
...
Remove oscrypto and swap back to fortra/impacket
2024-04-01 19:39:20 -04:00
Alexander Neff
df4ebf3131
Rewriting lock file
2024-04-01 17:20:46 -04:00
Alex
75e9316104
Merge pull request #242 from Pennyw0rth/neff-qol
...
Neff qol the second
2024-04-01 17:11:15 -04:00
Marshall Hallenbeck
ecf5772e86
fix: attempt to split version, and if it fails, then fallback to normal versioning (only happens with poetry)
2024-04-01 14:23:41 -04:00
Marshall Hallenbeck
2562b60344
add version back in for when doing poetry dev, since by default it doesnt leverage build-system
2024-04-01 14:23:41 -04:00
Marshall Hallenbeck
7c68ab4db6
add commit output to help print
2024-04-01 14:23:41 -04:00
Marshall Hallenbeck
a7b6ccf171
set poetry-core back to >= 1.2
2024-04-01 14:23:41 -04:00
mpgn
0ecdfd3564
fixing dynamic version
2024-04-01 14:23:41 -04:00
Marshall Hallenbeck
dd075d4dcf
fix(deps): change poerty-core back to 1.2
2024-04-01 14:23:41 -04:00
Marshall Hallenbeck
cee3430be7
feat(versioning): add git commit to version command, so we know exactly what code is being ran during issue triage
2024-04-01 14:23:41 -04:00
Marshall Hallenbeck
01c4a4479a
Merge pull request #235 from Pennyw0rth/users-enum-fix
...
fix --users for LDAP proto
2024-04-01 12:32:03 -04:00
Marshall Hallenbeck
2e493f788d
readd exit(1)s for parameter missing failures
2024-04-01 12:29:33 -04:00
Marshall Hallenbeck
e348965910
fix(nanodump): properly pass logger
2024-04-01 12:29:33 -04:00
Marshall Hallenbeck
b1a07259db
fix(add-computer): remove exit(1)s since it caused tests to fail even though there was no programatic failure
2024-04-01 12:29:33 -04:00
Alexander Neff
59a201a8db
Catch known error instead of printing traceback
2024-04-01 11:05:25 -04:00
Alexander Neff
c331ebec12
Set default worker amount to /24 subnet
2024-04-01 11:05:07 -04:00
Alex
2457ac0259
Merge pull request #236 from swisskyrepo/winlogon-autologon
...
Winlogon Autologon module
2024-03-31 21:17:10 -04:00
Alex
e14bbaf5a3
Merge branch 'main' into remove-git-deps
2024-03-31 21:12:41 -04:00
Alex
e728c15c6d
Merge branch 'main' into winlogon-autologon
2024-03-31 13:59:44 -04:00
Alex
0eeddfbf83
Merge pull request #240 from Pennyw0rth/neff-qol
...
Small QOL changes
2024-03-31 13:54:55 -04:00
Alexander Neff
67bf99b39c
Add info log message if connection couldn't be established
2024-03-30 21:09:00 +01:00
Alexander Neff
1ba3d04a1d
Fix tests
2024-03-30 21:05:03 +01:00
Alex
4b35ab7a9e
Merge pull request #230 from Pennyw0rth/neff-cli
...
Fix testing and linting
2024-03-30 01:16:56 +01:00
Alex
b73eabafdd
Merge pull request #238 from Pennyw0rth/Marshall-Hallenbeck-patch-1
...
rename MAQ.py to maq.py
2024-03-30 01:10:47 +01:00
Alexander Neff
3937f46fd6
Remove casting to lower in module names and rename MAQ.py -> maq.py
2024-03-30 01:01:48 +01:00
Marshall Hallenbeck
f6c5073ed9
rename MAQ.py to maq.py
...
it should not be capitalized
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-03-29 19:21:04 -04:00
Alexander Neff
8f2c847815
Remove old test.txt
2024-03-29 21:16:35 +01:00
Swissky
c659d75ae4
Winlogon Autologon module
2024-03-29 20:36:51 +01:00
zblurx
5f454a177d
fix mremoteng module options
2024-03-28 14:27:33 +01:00
zblurx
63d6e19208
Merge branch 'main' into users-enum-fix
2024-03-28 14:21:02 +01:00
zblurx
7cd29c3833
fixed ruff warnings
2024-03-28 14:07:39 +01:00
Alex
114784911c
Add py3.12 testing
2024-03-28 14:06:41 +01:00
zblurx
282ddb6383
update lock file
2024-03-28 14:02:22 +01:00
zblurx
bcf4202076
Merge branch 'main' into passwords_dump_update
2024-03-28 13:50:08 +01:00
zblurx
f1e273f4c8
add mremoteng
2024-03-28 13:49:00 +01:00
Alexander Neff
cb40697cef
Remove oscrypto and swap back to fortra/impacket
2024-03-27 22:41:15 +01:00
Alexander Neff
4af3705c4f
Remove loading tests from linting
2024-03-27 20:44:55 +01:00
Alexander Neff
c11a4353ce
Remove exception => runner should not fail now
2024-03-27 20:40:45 +01:00
Alexander Neff
0626bbc729
Fix tests
2024-03-27 20:38:51 +01:00
Alexander Neff
4fb457c57a
Temporarly add test to linting in order to run test the tests (lol)
2024-03-27 20:37:26 +01:00
Alexander Neff
b85add8de9
Add cli testing
2024-03-27 20:35:02 +01:00
Alexander Neff
cec36e7e24
Update testing README, rename file to match README and add small test suite
2024-03-27 20:17:05 +01:00
Alexander Neff
840b4dd834
Delete pytest job and add caching
2024-03-27 17:02:01 +01:00
Alex
15d52b778b
Merge pull request #231 from Pennyw0rth/marshall-logging-fix
2024-03-27 12:57:15 +01:00
Marshall Hallenbeck
eaeda89278
change normal output from DEBUG to INFO
2024-03-27 07:54:23 -04:00
Marshall Hallenbeck
52754f6eba
Merge pull request #229 from Pennyw0rth/marshall-logging-fix
...
Logging fixes (double logging & function caller obfuscation)
2024-03-27 06:35:34 -04:00
zblurx
e8a083e58c
fix --users for LDAP proto
2024-03-27 11:07:23 +01:00
Alex
69747b9cba
Update test.yml
2024-03-27 04:37:14 +01:00
Alex
fdcda98d0a
Update lint.yml
2024-03-27 04:13:37 +01:00
Alex
d03f19eff3
Update lint.yml
2024-03-27 04:12:02 +01:00
Alex
deededf441
Update test.yml
2024-03-27 04:11:11 +01:00
Alex
220cecdc0e
Update lint.yml
2024-03-27 04:09:11 +01:00
Alexander Neff
32583e94e1
Add ability to trigger test manually
2024-03-27 04:03:46 +01:00
Alexander Neff
9106c9ab0d
Lint only on push
2024-03-27 03:58:30 +01:00
Alexander Neff
8235bbdbc0
Fix linting
2024-03-27 03:57:39 +01:00
Alexander Neff
e9583ca56c
Fix linting
2024-03-27 03:54:31 +01:00
Alexander Neff
ffa964647b
Fix linting
2024-03-27 03:51:06 +01:00
Alexander Neff
c7fcdee1d5
Reenable testing pipeline
2024-03-27 03:49:07 +01:00
Alexander Neff
7a226877e8
Fix testing and linting
2024-03-27 03:42:27 +01:00
Marshall Hallenbeck
22da1831ec
fix(logging): do not double log output in debug mode; properly show calling file & lineno for such messages
2024-03-26 21:55:05 -04:00
Alex
bf737f186d
Merge pull request #227 from Pennyw0rth/neff-ldaps-port
...
Several ldap bug fixes
2024-03-27 02:36:40 +01:00
Marshall Hallenbeck
b80aa433d2
Merge pull request #222 from Pennyw0rth/neff-loggedon_users
...
Make loggedon-users unique to reduce spam and fix alignment
2024-03-26 20:35:13 -04:00
Marshall Hallenbeck
5bd689177f
Merge pull request #228 from termanix/patch-1
...
Module 'get-desc-users' Update - Marshall's #201 Issue Bug Fix
2024-03-26 16:09:19 -04:00
termanix
b122a39b15
Update get-desc-users.py
...
Removed space
Signed-off-by: termanix <[email protected] >
2024-03-25 17:15:06 +03:00
termanix
41ed36d6fa
Marshall's #201 Bug Fix
...
reges edited and output lines added.
Signed-off-by: termanix <[email protected] >
2024-03-25 17:11:15 +03:00
Alex
bfe7e46800
Merge pull request #152 from Pennyw0rth/neff-ldap-domain
2024-03-25 12:37:04 +01:00
Alex
2e311a150b
Merge pull request #224 from termanix/Update_active_users
...
Update LDAP active users lookup to match SMB
2024-03-24 19:05:34 +01:00
Alexander Neff
774f77e719
Fixing output if typo in username, fix indent when querying for specific user and formating
2024-03-24 19:01:29 +01:00
Alexander Neff
e691e350a9
Fix wrongly displayed domain when using wmi
2024-03-24 18:24:18 +01:00
Alexander Neff
0917a05188
Fix wrongly displayed domain when using winrm and remove duplicate statement
2024-03-24 18:17:08 +01:00
Alexander Neff
04b0b3aa6b
Fix wrongly displayed domain when using domain trust in mssql
2024-03-24 18:07:48 +01:00
Alexander Neff
63f9f3507e
Small fix for ldap domain with no-ntlm
2024-03-24 18:07:19 +01:00
Alex
09a50d8043
Merge branch 'main' into neff-ldap-domain
2024-03-24 16:23:13 +01:00
termanix
e31742ec67
Merge branch 'main' into Update_active_users
2024-03-24 10:41:37 +03:00
Alex
a6935b4d8d
Merge pull request #218 from Pennyw0rth/neff-enum_av
...
Fixing antivirus enumeration
2024-03-24 03:03:28 +01:00
Alexander Neff
041645aed9
Fix ldap not reporting DA when using hash login
2024-03-24 02:46:58 +01:00
Alexander Neff
6a24d76db9
Now adding the message, oops
2024-03-24 02:46:35 +01:00
Alexander Neff
eb244948e6
Add log message to explain potential ldap channel binding
2024-03-24 02:44:23 +01:00
Marshall Hallenbeck
8940badc09
Merge pull request #216 from Pennyw0rth/ldap-checker-fix
...
[ldap-checker] Module fix
2024-03-23 14:04:16 -04:00
Marshall Hallenbeck
d8284f9178
Merge pull request #226 from Pennyw0rth/issues/221
...
BloodHound & hash_spider fixes
2024-03-23 09:59:41 -04:00
Marshall Hallenbeck
934ba6f139
fix(hash_spider): fix old db function call for hosts; fixes #221
2024-03-22 14:50:01 -04:00
Marshall Hallenbeck
a9bd576392
fix(bloodhound): fail out right away if Bloodhound is enabled and authentication fails to the API
2024-03-22 14:50:01 -04:00
Marshall Hallenbeck
58d2039553
update default bloodhound password
2024-03-22 14:50:01 -04:00
zblurx
a6f09e7166
cleanup
2024-03-22 17:44:31 +01:00
zblurx
af9dfcfeb5
vnc module working
2024-03-22 17:35:51 +01:00
termanix
6c3746643e
Update ldap.py
...
Signed-off-by: termanix <[email protected] >
2024-03-22 19:24:41 +03:00
termanix
e0b6f571c8
Update ldap.py
...
Signed-off-by: termanix <[email protected] >
2024-03-22 19:22:10 +03:00
termanix
fc40c778fe
Update ldap.py
...
Signed-off-by: termanix <[email protected] >
2024-03-22 19:12:26 +03:00
termanix
9603f8f450
Update ldap.py
...
Fixed single quotes and blank spaces
Signed-off-by: termanix <[email protected] >
2024-03-22 19:04:40 +03:00
termanix
7c07ab04d7
Update ldap.py
...
line 914 and 916 Comparison edited to "is"
Signed-off-by: termanix <[email protected] >
2024-03-22 18:58:45 +03:00
termanix
c1a2a92816
Update LDAP active users lookup to match SMB
2024-03-22 18:42:33 +03:00
Marshall Hallenbeck
3dc84e1228
Merge pull request #215 from Pennyw0rth/marshall-ldap-users
...
Update LDAP users lookup to match SMB
2024-03-22 10:50:49 -04:00
Alexander Neff
1e517c8313
Fix ruff
2024-03-22 12:47:40 +01:00
Alexander Neff
c123e37d4e
Make loggedon-users unique to reduce spam and fix alignment
2024-03-22 12:43:17 +01:00
Alex
58c0529264
Merge branch 'main' into neff-enum_av
2024-03-22 10:36:27 +01:00
Marshall Hallenbeck
40e99913e3
change extra output to debug statement
2024-03-21 20:45:39 -04:00
Marshall Hallenbeck
e870a30416
Merge branch 'main' into marshall-ldap-users
2024-03-21 20:25:51 -04:00
Alex
fb8c4bcdcd
Merge pull request #220 from Pennyw0rth/marshall-proto-print-fix
...
Fix: module names 8-10 chars being cut off
2024-03-22 01:23:24 +01:00
Marshall Hallenbeck
b0ec4b7951
fix(smb): --users display off by one :)
2024-03-21 20:16:43 -04:00
Marshall Hallenbeck
e5bba812e8
fix(ldap): off by one :)
2024-03-21 20:12:06 -04:00
Alexander Neff
49e909c50a
Formating
2024-03-21 20:12:06 -04:00
Alexander Neff
14e7034352
Formating
2024-03-21 20:12:06 -04:00
Marshall Hallenbeck
6a4852e013
fix/feat: remove unnecessary and ugly ldap-attributes functionality; add in badPwdCount to --users
2024-03-21 20:12:06 -04:00
Marshall Hallenbeck
3a1e93a386
ruff: apply ruff
2024-03-21 20:12:06 -04:00
Marshall Hallenbeck
762a9ac102
feat(ldap): allow for adding additional attributes when querying for users
2024-03-21 20:12:06 -04:00
Marshall Hallenbeck
0eee328ea0
feat(ldap): allow for specifying specific users to dump for ldap and print last password set date
2024-03-21 20:12:06 -04:00
Alex
0608628aff
Merge pull request #214 from Pennyw0rth/issue/203
...
Fix SMB users lookup and return last password set date
2024-03-22 00:48:01 +01:00
Marshall Hallenbeck
020ec1758c
samruser: update --user output header
2024-03-21 19:43:00 -04:00
Alexander Neff
1e68591742
Formating
2024-03-21 23:49:35 +01:00
Marshall Hallenbeck
590a4e2536
format(logger): fix some newlining stuff that got messed up during old black formatting
2024-03-21 18:20:18 -04:00
Marshall Hallenbeck
3c1927afd7
fix: modules with a name between 8 and 10 length were being erroneously cut off
2024-03-21 18:16:09 -04:00
Marshall Hallenbeck
9a915f0f24
fix/feat(samruser): add back in bad password count to --users; closes #219
2024-03-21 18:12:40 -04:00
Marshall Hallenbeck
54e6ebb017
samruser: clean auth line up
2024-03-21 17:42:05 -04:00
Alexander Neff
2e196b5a50
Fix ruff linting
2024-03-21 19:09:15 +01:00
Alexander Neff
382af18513
Fixing enum_av process enumeration and adding more info to ESET
2024-03-21 19:06:21 +01:00
Alexander Neff
39bf9b109c
Stop neo4j for spamming into the debug log
2024-03-21 19:06:14 +01:00
zblurx
e06b28992d
fix loot for GoogleRefreshToken
2024-03-21 17:42:12 +01:00
zblurx
0d1b4537a0
update dploot dep
2024-03-21 17:41:50 +01:00
zblurx
5cf6d55679
added sccm module
2024-03-21 17:41:40 +01:00
zblurx
e8fe42cb4a
fix ruff warning
2024-03-21 17:09:22 +01:00
zblurx
addc060077
fix ldap signing check
2024-03-21 17:04:49 +01:00
Marshall Hallenbeck
2a66f36364
fix(users): remove domain from output, since it's implied, and set timestamp to <never> for last set password date if it should be
2024-03-20 21:57:39 -04:00
Marshall Hallenbeck
60f1785608
ruff: apply ruff
2024-03-20 18:03:28 -04:00
Marshall Hallenbeck
ce9b766276
fix+feat(smb-users): allow requesting only specific users, print LastPwSet, and functionize more code for future use
2024-03-20 17:57:31 -04:00
Alex
ae158614e6
Merge pull request #213 from Pennyw0rth/neff-nullauth-bh
...
Stop Netexec from adding null auth user to bloodhound
2024-03-20 01:02:31 +01:00
Alexander Neff
d885974121
Stop nxc from trying to add null auth creds to bloodhound
2024-03-19 20:01:11 -04:00
Alex
e367bf9fa8
Merge pull request #212 from Pennyw0rth/neff-fix-bloodhound-dump
...
Adding the fileNamePrefix which was introduced in bloodhound so files…
2024-03-20 00:58:43 +01:00
Alex
6b6decd1d7
Merge pull request #208 from Pennyw0rth/neff-fix-207
...
Revert #190 to enable null-auth without explicit specification
2024-03-20 00:58:15 +01:00
dt
bcd0896bc1
Adding the fileNamePrefix which was introduced in bloodhound so files get properly zipped again
2024-03-19 21:24:09 +01:00
Alexander Neff
74b18fdf4e
Merge branch 'main' into neff-fix-207
2024-03-18 23:34:36 +01:00
Marshall Hallenbeck
e12fef0620
Merge pull request #163 from lodos2005/main
...
[Module] printerbug
2024-03-18 15:35:16 -04:00
Alexander Neff
ca192d8f8e
Revert #190 to enable functionality without explicit auth
2024-03-18 15:18:23 -04:00
Alex
b62c315440
Merge pull request #65 from sebrink/main
2024-03-18 19:25:06 +01:00
Hakan Yavuz
b8099a967a
Merge branch 'main' into main
2024-03-17 23:36:38 -07:00
Alexander Neff
dff88cb345
Use f-strings and make minor improvements
2024-03-17 02:24:24 +01:00
Alexander Neff
328b25b434
Remove unused import
2024-03-17 01:54:37 +01:00
Alexander Neff
45b02250e6
Merge branch main into neff-ldap-domain
2024-03-16 22:18:42 +01:00
Alexander Neff
add1c66375
Remove check that should never happen
2024-03-16 21:33:45 +01:00
Alexander Neff
efe59e33f1
Fix ruff linting
2024-03-16 19:26:10 +01:00
Alexander Neff
b192c036cb
Don't display observation window and lockout duration if lockout threshhold is 0, as they are disabled then
2024-03-16 19:13:11 +01:00
Alexander Neff
4d6d3bf766
Remove unused packages and display pso timedeltas as they are in active directory
2024-03-16 18:53:01 +01:00
Alexander Neff
5f88d6121a
Formating and small code improvements
2024-03-16 17:10:19 +01:00
Alexander Neff
0acfc551ac
Add missing imports and improve code
2024-03-16 17:03:47 +01:00
Alexander Neff
2e928d2b7c
Rename module to match filename and use time conversion with packages already in nxc
2024-03-16 16:52:42 +01:00
Alexander Neff
ddd36cc392
Remove unused imports
2024-03-16 16:41:30 +01:00
Alexander Neff
a869c6f5e8
Merging main into fgpp and resolving conflicts
2024-03-15 00:56:38 +01:00
Marshall Hallenbeck
5d777547ed
Merge pull request #206 from Pennyw0rth/marshall-issue-200-2
...
fix(wcc.py): properly escape for #200
2024-03-14 16:38:31 -04:00
Marshall Hallenbeck
eab93ca3ee
fix(wcc.py): properly escape for #200
...
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-03-14 16:03:31 -04:00
Alex
31aff31469
Merge pull request #41 from Shad0wC0ntr0ller/Obsolete
...
Extract obsolete operating systems from LDAP
2024-03-14 01:21:46 +01:00
Alexander Neff
30cab48d9b
Changed manual path to nxc default path
2024-03-14 01:19:13 +01:00
Alex
632395f4d3
Merge branch 'main' into Obsolete
2024-03-14 01:13:30 +01:00
Alex
cf8b2c05c0
Merge branch 'main' into main
2024-03-14 00:57:22 +01:00
Alexander Neff
64f3692624
Removing unused request options which throw an exception
2024-03-14 00:55:50 +01:00
Alexander Neff
24b00d9992
Formating
2024-03-14 00:55:25 +01:00
Alexander Neff
183d2b9dce
Updated logging to use context logger and changed description
2024-03-14 00:44:47 +01:00
Marshall Hallenbeck
840446d810
Merge pull request #204 from Pennyw0rth/marshall-issue-200
...
Fix string escaping issues for Kali package, fix some logging, and allow for lsa and sam WinRM dumping
2024-03-13 15:21:12 -04:00
Marshall Hallenbeck
d271d00eec
fix(winrm): allow for --lsa and --sam at the same time, like smb allows
2024-03-13 13:02:50 -04:00
Marshall Hallenbeck
2efef82662
fix(escaping): update remaining string escaping issues for #200
2024-03-13 13:02:28 -04:00
Marshall Hallenbeck
48242de675
Merge branch 'main' into marshall-issue-200
2024-03-13 12:58:00 -04:00
Marshall Hallenbeck
d11af2a296
fix(runasppl) set command string to raw and change error to debug as it is unnecessary and spammy
2024-03-13 12:50:33 -04:00
Alex
1708889721
Merge pull request #202 from Pennyw0rth/neff-update-neo4j
2024-03-13 11:00:56 +01:00
Alexander Neff
07050e153c
Resolve conflicts
2024-03-12 23:22:00 +01:00
Alexander Neff
bf1ab5bd76
Update neo4j python driver
2024-03-12 23:09:42 +01:00
Marshall Hallenbeck
5a1e139d85
fix: extra escape in string
2024-03-12 16:38:58 -04:00
Marshall Hallenbeck
ec31181c3a
fix: set string to raw
2024-03-12 16:37:03 -04:00
Marshall Hallenbeck
34db1985f3
change regex string to raw, but this module doesnt even work for checking for pws
2024-03-12 16:35:18 -04:00
Marshall Hallenbeck
2d68c179b8
fix: string formatting and improved logging for daclread
2024-03-12 15:23:08 -04:00
Marshall Hallenbeck
f91cccf49e
fix: string formatting for #200
2024-03-12 15:22:06 -04:00
Kahvi-0xFF
68c197d471
Improve Kerberoast Module
...
On a test where --kerberoast would not return a ticket for a user I knew was kerberoastable. After some digging I changed the LDAP query in ldap.py to be just "(&(servicePrincipalName=*)(!(objectCategory=computer)))". This removes the check for accounts locked out/inactive and this returned the ticket I was able to see with powerview.
Personally would still like to get tickets for users that are disabled/locked out in order to attempt to crack their password and see if the password is reused.
I also changed the error for Bypassing disabled account {sAMAccountName} to be highlight as I thought this is nice to have.
Signed-off-by: Kahvi-0xFF <[email protected] >
2024-03-12 12:53:23 -04:00
Shad0wC0ntr0ller
56ef949c92
Update obsolete.py
...
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Shad0wC0ntr0ller
855bc89a2f
Update obsolete.py
...
change ' to "
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Shad0wC0ntr0ller
018cc98ed3
Update obsolete.py
...
Add pwdLastSet
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Shad0wC0ntr0ller
d99ddaaaec
Update obsolete.py
...
Added Server 2012 to the vuln list
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Shad0wC0ntr0ller
2c637eead7
Update obsolete.py
...
change cme to nxc
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Shad0wC0ntr0ller
87fce318de
Update obsolete.py
...
Updated separator in output
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Shad0wC0ntr0ller
68b2f01979
Extract obsolete operating systems from LDAP
...
Signed-off-by: Shad0wC0ntr0ller <[email protected] >
2024-03-12 12:52:08 -04:00
Marshall Hallenbeck
a4cbd5bf5d
Merge pull request #171 from Pennyw0rth/neff-rem-pyreadline
...
Remove pyreadline as it causes errors in nxcdb
2024-03-12 11:14:16 -04:00
XiaoliChan
059013a0ab
[lib] update impacket
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-12 16:36:06 +08:00
XiaoliChan
751544806b
Add e2e
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-12 10:42:20 +08:00
Alex
19b89633b1
Merge branch 'neff-rem-pyreadline' of https://github.com/Pennyw0rth/NetExec into neff-rem-pyreadline
2024-03-12 01:46:31 +01:00
Alexander Neff
d6f1ee25ed
Update lock file
2024-03-12 01:45:52 +01:00
Alexander Neff
1a703c6ab6
Merge main
2024-03-12 00:58:03 +01:00
XiaoliChan
9b8b2e99ec
Update kdchost description
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 18:32:03 +08:00
XiaoliChan
548a5e9228
Update impacket
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 18:26:40 +08:00
XiaoliChan
fc9bf7f4e5
[LDAP] Fix logic with no-smb
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 14:51:35 +08:00
XiaoliChan
5efa1ef7f0
[LDAP] Fix logic with no-smb
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 14:40:17 +08:00
XiaoliChan
48be975341
[DNS] Clean SMB
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 12:46:14 +08:00
XiaoliChan
218518dbb6
[DNS] Clean SMB
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 12:19:48 +08:00
XiaoliChan
35d3a3d3c1
[DNS] Fix mssql
...
Signed-off-by: XiaoliChan <[email protected] >
[DNS] Fix mssql
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 12:03:22 +08:00
XiaoliChan
3dcca25081
Merge remote-tracking branch 'upstream/main' into dns
2024-03-10 09:56:04 +08:00
XiaoliChan
9131e5cf9b
Ruff
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 09:55:50 +08:00
XiaoliChan
2b75ed6784
[DNS] Fix RDP & ldap-checker
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 09:44:05 +08:00
Marshall Hallenbeck
3f31b2e231
Merge pull request #190 from Pennyw0rth/mpgn-patch-2
...
Update connection.py to force login
2024-03-09 12:34:28 -05:00
XiaoliChan
233136ae3e
clean up
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-10 00:48:38 +08:00
XiaoliChan
55a4486dbe
[mmcexec] avoid kerberos auth
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 22:56:39 +08:00
XiaoliChan
43576de135
[DNS] fix dcom
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 22:43:58 +08:00
XiaoliChan
b42a7f17f5
[wmi] fix rdp
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 21:40:59 +08:00
XiaoliChan
30dd0cec91
Update impacket version
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 20:56:34 +08:00
XiaoliChan
5fd9e9b9a3
[DNS] Fix mssql
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 18:37:33 +08:00
mpgn
8215eaa27a
Update connection.py
...
Signed-off-by: mpgn <[email protected] >
2024-03-09 01:52:50 -05:00
XiaoliChan
11600f7767
[DNS] Fix wmi
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
XiaoliChan
184551ee30
[DNS] Fix module with kerberos
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
XiaoliChan
1f4dcdc4e9
[DNS] Add remoteHost variable
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
XiaoliChan
cd5f8e7e47
[DNS] Add remoteHost variable
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
XiaoliChan
3cf689c7f8
[DNS] Add remoteHost variable
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
XiaoliChan
ee6b74bbb8
[DNS] Ready for kdcHost
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
mpgn
8010f10552
fix ruff check
2024-03-09 01:52:16 -05:00
mpgn
05430a679e
Set info as info
2024-03-09 01:52:16 -05:00
mpgn
30e9f0f153
Add ldap destination IP to be compatible with dns resolution
2024-03-09 01:52:16 -05:00
XiaoliChan
5fe1d988ea
[DNS] Add DNS args
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-09 01:52:16 -05:00
Marshall Hallenbeck
d9e46dbb1f
Merge pull request #136 from XiaoliChan/mssql-improv
...
[MSSQL] Improvement
2024-03-09 01:52:00 -05:00
XiaoliChan
9120d1d5dc
[mssql] mpgn: review
...
Signed-off-by: XiaoliChan <[email protected] >
2024-03-04 21:24:37 +08:00
XiaoliChan
7d9ddfb1d6
Merge branch 'main' into mssql-improv
2024-03-03 20:07:00 +08:00
Alex
31b2a1f458
Merge pull request #191 from XiaoliChan/ntlm_parser
...
[lib] Improve ntlm_parser.py
2024-03-03 07:03:34 -05:00
Alex
d6952025aa
Merge pull request #193 from Pennyw0rth/Marshall-Hallenbeck-patch-1
...
Update README.md
2024-03-03 06:55:53 -05:00
Marshall Hallenbeck
88769b1b0d
Update README.md
...
add Linux installation directly to README
fix french->english :P
Signed-off-by: Marshall Hallenbeck <[email protected] >
2024-03-02 20:47:39 -05:00
zblurx
ac2a56ef46
fix ldap-checker module
2024-02-29 16:36:53 +01:00
XiaoliChan
4a085781cf
[mssql] Ready for PR #191
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-29 13:37:04 +08:00
XiaoliChan
423b70bcfb
[lib] Improve ntlm_parser.py
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-29 13:26:00 +08:00
Alex
0d1c8bcdef
Remove pyreadline as it causes errors in nxcdb
2024-02-28 12:49:37 -05:00
XiaoliChan
3af5186960
[mssql] remove drop mssql-ntlm-parser.py
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-28 12:47:56 +08:00
XiaoliChan
387538a979
Merge branch 'main' into mssql-improv
2024-02-28 09:14:02 +08:00
Alex
ac60614474
Merge pull request #172 from XiaoliChan/winrm-ntlm-info
...
[winrm] say goodbye to SMB
2024-02-27 19:00:06 -05:00
Alexander Neff
9f0ac2cf90
Added fallback if build version is not available (yet)
2024-02-28 00:55:29 +01:00
XiaoliChan
1d1c03be7a
[winrm] better os info
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-27 18:40:59 -05:00
Alexander Neff
7e0c0e0c07
Formating
2024-02-27 18:40:59 -05:00
Alexander Neff
1e12cadb33
Removed unused conditional function, removed "NT" from windows version so it matches SMB enumeration
2024-02-27 18:40:59 -05:00
XiaoliChan
19ee066542
[winrm] Ruff
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-27 18:40:59 -05:00
XiaoliChan
217cf21cff
[winrm] Clean args.py
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-27 18:40:59 -05:00
XiaoliChan
9ceab247a8
[winrm] say goodbye to SMB
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-27 18:40:59 -05:00
Josh
7a46f9eb64
Update enum_ca.py
...
Signed-off-by: Josh <[email protected] >
2024-02-27 17:58:23 +01:00
Alexander Neff
97af55337c
Added proposal by Dfte and formating
2024-02-27 17:58:23 +01:00
Josh
bf61e93466
Update enum_ca.py
...
Updated as requested
Signed-off-by: Josh <[email protected] >
2024-02-27 17:58:23 +01:00
Josh
b20f6e199d
Update enum_ca.py
...
removed newline on line 1
Signed-off-by: Josh <[email protected] >
2024-02-27 17:58:23 +01:00
Josh
a6fbdbff2b
linted
...
ran through ruff
2024-02-27 17:58:23 +01:00
Josh
c0ac682722
New Module
...
added anonymous ADCS CA enumeration module
2024-02-27 17:58:23 +01:00
Marshall Hallenbeck
6454ee7467
Merge pull request #186 from Pennyw0rth/neff-audit-mode
...
Fix audit_mode in ldap
2024-02-27 11:25:46 -05:00
Alexander Neff
b7df87c7f7
Fix audit_mode in ldap
2024-02-27 11:23:45 -05:00
XiaoliChan
2a497f4965
Merge branch 'main' into mssql-improv
2024-02-27 17:56:33 +08:00
Alex
71ed38276a
Merge pull request #187 from Pennyw0rth/neff-update-impacket
...
Update impacket dependency to pull latest changes
2024-02-27 04:40:50 -05:00
Alexander Neff
26c35b3811
Update impacket dependency to pull latest changes
2024-02-27 10:33:11 +01:00
XiaoliChan
b8912b5166
[nanodump] Bug fixed
...
Signed-off-by: XiaoliChan <[email protected] >
2024-02-27 16:09:04 +08:00
XiaoliChan
1454b265ae
Merge branch 'main' into mssql-improv
2024-02-27 14:12:46 +08:00
Hakan Yavuz
7909477ef7
Update printerbug.py
...
fix linter
Signed-off-by: Hakan Yavuz <[email protected] >
2024-02-26 22:28:48 +01:00
Hakan Yavuz
2feece33e6
Update printerbug.py
...
Fix linter
Signed-off-by: Hakan Yavuz <[email protected] >
2024-02-26 22:28:48 +01:00
Hakan Yavuz
fddcf67a65
Update printerbug.py
...
Signed-off-by: Hakan Yavuz <[email protected] >
2024-02-26 22:28:48 +01:00
Hakan Yavuz
e422a17080
Update printerbug.py
...
Fix trigger
Signed-off-by: Hakan Yavuz <[email protected] >
2024-02-26 22:28:48 +01:00
Hakan Yavuz
188f909e64
Create printerbug.py
...
Add MS-RPRN abuse (PrinterBug)
Signed-off-by: Hakan Yavuz <[email protected] >
2024-02-26 22:28:48 +01:00
Marshall Hallenbeck
a70baec753
Merge pull request #173 from Dfte/main
...
Update ntlmv1.py
2024-02-26 10:23:40 -05:00
Marshall Hallenbeck
56338d28f8
Merge branch 'main' into main
2024-02-26 10:22:34 -05:00
XiaoliChan
666a81713a
Merge branch 'main' into mssql-improv
2024-02-26 16:29:27 +08:00
Marshall Hallenbeck
49ca92d1f1
Merge pull request #176 from Pennyw0rth/neff-error-handling
...
Add error handling for protocol level
2024-02-22 16:56:40 -05:00
Marshall Hallenbeck
3c39b94ee8
Merge branch 'main' into neff-error-handling
2024-02-21 13:45:20 -05:00
Marshall Hallenbeck
a69f3e737a
Merge pull request #185 from Pennyw0rth/neff-fix-rrp
...
Remove unnecessary remote ops check
2024-02-21 13:43:54 -05:00
Marshall Hallenbeck
b19b8884ad
Merge branch 'main' into neff-fix-rrp
2024-02-21 13:23:31 -05:00
Alexander Neff
16c0237245
Impacket already checks if remote_ops is running, we don't need it in here
...
Besides that, it intruduces a bug where nxc think rrp is enabled, but we closed it before without setting the self.remote_ops variable to None. This leads to sometimes crashing in lsa/sam dump if the service wasnt started originally.
2024-02-21 19:11:09 +01:00
Alex
72ef88a8f1
Merge branch 'main' into neff-error-handling
2024-02-21 17:27:02 +01:00
Alex
5b32cd8cf5
Merge pull request #183 from Pennyw0rth/neff-fix-share-privs
...
Write without delete will now be displayed as write access
2024-02-18 12:23:08 +01:00
Alex
c16aa4cd9f
Add share name in debug info for write check
2024-02-18 11:48:28 +01:00
Alexander Neff
7d99d519e5
Write without delete will now be displayed as write access
2024-02-18 01:04:37 +01:00
Alex
fe179b006a
Merge pull request #179 from Pennyw0rth/neff-audit-mode
...
Allow a single word as audit mode "character"
2024-02-14 15:19:03 +01:00
Alexander Neff
3d9cbca7a8
Allow a whole word as audit mode character
2024-02-14 15:06:41 +01:00
Alex
ae121c566a
Merge pull request #123 from Pennyw0rth/nxcdb-marshall
...
nxcdb: refactor shared database/workspace setup code & allow for creation/setting of workspaces outside of nxcdb interactive console
2024-02-12 19:25:56 +01:00
Alex
f76fb16311
Merge branch 'main' into nxcdb-marshall
2024-02-12 18:54:53 +01:00
Alexander Neff
0442376287
Add error handling for protocol level
2024-02-09 14:29:39 +01:00
Deft_
d6dae9c605
Update ntlmv1.py
...
Update the module as it was not working anymore and the values were not accurate
Signed-off-by: Deft_ <[email protected] >
2024-02-08 11:54:08 +01:00
XiaoliChan
1e2e4adda4
Merge remote-tracking branch 'upstream/main' into mssql-improv
2024-02-07 23:34:57 +08:00
Alex
a39f71ebbc
Remove pyreadline as it causes errors in nxcdb
2024-02-06 11:28:32 +01:00
Marshall Hallenbeck
1645f672d3
Merge pull request #169 from fpreynaud/check_renames
...
[WCC] Make check names more explicit
2024-02-02 14:46:52 -05:00
François REYNAUD
1c822aae38
[WCC] Make check names more explicit
2024-02-02 16:48:33 +01:00
Marshall Hallenbeck
3c11b71ca6
Merge pull request #167 from Pennyw0rth/neff-deps
...
Hotfix: Allow broader version for argcomplete to fix macos installations
2024-02-02 10:45:17 -05:00
Alexander Neff
9696fe4c9a
Allow broader version for argcomplete to fix macos installations
2024-01-29 14:53:46 +01:00
Marshall Hallenbeck
c2e9fcc545
Merge branch 'main' into nxcdb-marshall
2024-01-22 16:52:28 -05:00
Marshall Hallenbeck
275bc41477
fix(database): only attempt to initialize default workspace if it doesnt exist
2024-01-22 16:52:18 -05:00
Marshall Hallenbeck
06ccf5eeec
Merge pull request #153 from Pennyw0rth/neff-space-in-username
...
Fix usernames with empty spaces in ntds dump
2024-01-22 16:15:24 -05:00
Marshall Hallenbeck
a94a1b27ea
Merge branch 'main' into neff-space-in-username
2024-01-22 15:50:24 -05:00
Marshall Hallenbeck
f058c2ddf7
Merge pull request #139 from Pennyw0rth/neff-asyncio
...
Surpress any errors when using rdp and broken python version
2024-01-22 15:50:00 -05:00
Marshall Hallenbeck
d4f4c7c4a2
Merge branch 'main' into neff-asyncio
2024-01-22 15:30:03 -05:00
Marshall Hallenbeck
f46c5eae17
Merge pull request #135 from Pennyw0rth/neff-win-firefox
...
Fix issue #134 with tempfile on windows
2024-01-22 15:27:29 -05:00
Marshall Hallenbeck
d84eb7ed96
Merge branch 'main' into neff-win-firefox
2024-01-22 14:42:42 -05:00
Marshall Hallenbeck
6abdf079e6
Merge branch 'main' into nxcdb-marshall
2024-01-18 20:36:22 -05:00
Alex
9df72e2f68
Merge pull request #162 from thiagokokada/fix-some-issues-in-deps
...
Fix some issues in deps
2024-01-15 23:06:03 +01:00
Thiago Kenji Okada
1f8a948966
Set pyreadline for Win32 only
2024-01-14 17:57:18 +00:00
Thiago Kenji Okada
50962312a2
Move ruff to dev dependency
2024-01-14 17:54:07 +00:00
Thiago Kenji Okada
b3a5c300b5
Remove resource
...
Introduced in 483dc69a2a , it points to
https://github.com/RussellLuo/resource , an unmaintained library.
However, it is clear in the code that this should have been resource
from stdlib instead (https://docs.python.org/3/library/resource.html ),
and needs not to be included in `pyproject.toml`.
2024-01-14 17:51:30 +00:00
Alex
5f29e661b7
Merge pull request #155 from Pennyw0rth/neff-fix-modules-windows
2023-12-24 22:56:57 +01:00
Alexander Neff
5809a1470a
Fixing module name check with windows backspace path
2023-12-24 22:16:27 +01:00
Alex
dcbb01a39e
Merge pull request #148 from Adamkadaban/argcomplete-completion
...
add argcomplete bash/zsh completion
2023-12-24 14:20:28 +01:00
Alexander Neff
db2936db98
Update python version in readme
2023-12-24 14:16:11 +01:00
Alexander Neff
a70f3e6ae3
Merge main into argcomplete
2023-12-24 13:41:05 +01:00
Alex
6115185d75
Merge pull request #132 from Pennyw0rth/neff-encode-errors
2023-12-23 17:23:04 +01:00
Alex
82e8c17e5d
Merge pull request #130 from Pennyw0rth/binaries-neff
2023-12-23 17:22:53 +01:00
Alexander Neff
02bdbef712
Fix host domain display output when specifying domain in smb
2023-12-23 16:46:34 +01:00
Alexander Neff
303a051003
Fix host domain display output when specifying domain in ldap
2023-12-23 16:18:20 +01:00
Alex
5e964bb0eb
Merge pull request #150 from Pennyw0rth/neff-enum_trusts
...
Remove domain DN from ldap query, fixes #144
2023-12-23 15:48:53 +01:00
Alex
2732987a6a
Merge pull request #141 from Pennyw0rth/neff-laps
2023-12-22 18:20:51 +01:00
Alexander Neff
694f6a0984
Fix usernames with empty spaces in ntds dump
2023-12-22 17:42:58 +01:00
Alexander Neff
3dcd24869d
Allow ldap connection with no smb and without domain
2023-12-22 17:10:07 +01:00
Alexander Neff
14391af612
Remove domain DN from ldap query, fixes #144
2023-12-18 01:48:50 +01:00
Alexander Neff
85b53868f2
Improve import
2023-12-17 19:40:53 +01:00
Alex
235d9e049f
Merge branch 'main' into neff-encode-errors
2023-12-17 19:36:04 +01:00
Alexander Neff
5900029c4f
Resetting lock file
2023-12-17 19:34:55 +01:00
Alex
7fb2a0f94c
Merge branch 'main' into argcomplete-completion
2023-12-17 18:47:25 +01:00
Alex
8899c003c8
Merge pull request #133 from Syzik/ModulesEnumeration
...
Modules enumeration ldap
2023-12-17 13:15:43 +01:00
Alexander Neff
b9a3f8f22f
Resetting lock file
2023-12-16 18:59:53 +01:00
Alex
c1d253800b
Merge branch 'main' into ModulesEnumeration
2023-12-16 18:42:25 +01:00
Alexander Neff
67cb940775
Rename module filenames to match module name
2023-12-16 15:48:17 +01:00
Alexander Neff
f82bd95442
Add argcomplete support for modules
2023-12-16 15:40:56 +01:00
Alexander Neff
b18a5a770c
Fix argcomplete version and drop python 3.7 support
2023-12-16 15:39:50 +01:00
Adamkadaban
edfa64b5e9
add argcomplete bash/zsh completion
2023-12-16 05:47:03 -05:00
Alex
ef4f2df92c
Merge pull request #146 from 0xlazY/iis_quote_fix
...
Fix: iis module cmd exec quotes
2023-12-15 23:54:46 +01:00
Marshall Hallenbeck
e90502d9da
Merge branch 'main' into nxcdb-marshall
2023-12-14 15:22:05 -05:00
0xlazy
a347fcc208
Fix: iis module cmd exec quotes
2023-12-13 15:01:47 +01:00
XiaoliChan
ae5d57a75d
[mssql] ruff
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-13 00:45:02 +08:00
XiaoliChan
d6eb6c205a
[mssql] add is_mssql check
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-13 00:40:12 +08:00
XiaoliChan
b4ae46f65d
[mssql] bug fix
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 17:32:24 +08:00
XiaoliChan
2c174369ba
[mssql] less code
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
93f3bccd7b
[mssql] fix ccache
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
8a5d77b1d7
[mssql] fix kerb_pass
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
86ebce4722
[mssql] self review
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
4a18e2f452
[mssql] Bringing up timeout argument
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
9a6a37152f
[mssql] ruff
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
f7078bb76b
[mssql] more linebreak
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
dd78e22938
[mssql] move outputBuffer
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
cbdf87a4d8
[mssql] bye bye '--no-smb'
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
cf91a11453
[mssql] self review
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
aade033254
[mssql] fix wrong things and add brackets
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
750d35e747
[mssql] revert pyproject.toml
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
6f1bcaaf46
[mssql] Enhance the error message
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
XiaoliChan
9e01b97694
[mssql] bye bye SMB :)
...
Signed-off-by: XiaoliChan <[email protected] >
2023-12-12 15:48:54 +08:00
Alex
6c9afa37b7
Merge branch 'main' into binaries-neff
2023-12-11 08:24:13 +01:00
Alexander Neff
cc1d90ca2a
Merge main into neff-laps
2023-12-10 16:12:58 +01:00
Alex
4846464cd0
Merge pull request #114 from XiaoliChan/winrm-better-output
...
[winrm] better output
2023-12-10 16:03:08 +01:00
Alexander Neff
afd568cf94
Fix correct protocol and port display output
2023-12-10 15:59:34 +01:00
Alex
d4b3ace3a6
Merge branch 'main' into winrm-better-output
2023-12-09 20:34:05 +01:00
Alexander Neff
f8982a8d65
Move detailed information to info logging output
2023-12-09 18:53:46 +01:00
Syzik
847f8c43a4
Merge branch 'main' into ModulesEnumeration
2023-12-09 03:40:57 +01:00
Alexander Neff
940f81dec4
Remove old laps checks
2023-12-09 01:19:55 +01:00
Alexander Neff
2793895b6e
Fix hash and domain handling laps
2023-12-09 01:10:03 +01:00
Alexander Neff
14aedea969
Fix laps return values
2023-12-09 00:58:19 +01:00
Alexander Neff
a7d780ebe4
Remove unused imports
2023-12-09 00:52:54 +01:00
Alexander Neff
89d4567a81
Enable logging from outside of modules
2023-12-09 00:52:27 +01:00
Alexander Neff
92273306ac
Move laps login logic to connection.py
2023-12-09 00:52:00 +01:00
Marshall Hallenbeck
046b1f9113
Merge pull request #140 from Pennyw0rth/neff-wcc
...
Fix array index
2023-12-08 09:22:05 -05:00
Alexander Neff
a8a810d32b
Fix array index
2023-12-08 12:51:01 +01:00
syzik
b2b56cd562
Module Description Fix (NeffIsBack)
2023-12-08 05:15:58 +01:00
Alex
76836dcc9c
Merge pull request #137 from fpreynaud/bugfix
...
Fix bug in WCC module
2023-12-08 01:08:12 +01:00
Alexander Neff
5c87c27f7e
Fix ruff
2023-12-08 00:55:40 +01:00
Alexander Neff
bc0ebf7169
Only surpress errors when using rdp not always
2023-12-07 22:09:03 +01:00
Alexander Neff
5daa3ecc7f
Surpress any errors when using rdp and broken python version
2023-12-07 22:01:56 +01:00
François REYNAUD
313d795871
Fix bug introduced by commit bfd32f1910
2023-12-07 18:05:55 +01:00
Alexander Neff
796e49e86b
Add exception handling
2023-12-04 16:15:27 +01:00
Alexander Neff
da603def02
Fix issue #134 which occurs on windows
2023-12-04 16:07:56 +01:00
Alex
3a2b3938c6
Properly fix rdp and winrm
2023-12-01 16:08:46 +01:00
syzik
476e35c47c
ldap modules
2023-11-30 22:42:17 +01:00
syzik
fee9d24e64
ldap modules
2023-11-30 22:35:23 +01:00
Alex
549f428faf
Fix dependencies for binary building
2023-11-30 19:20:41 +01:00
Alexander Neff
03b88843fa
Updating dependencies for latest impacket changes and removing deprecated encodeerror check
2023-11-30 17:08:49 +01:00
Alexander Neff
4c7a9337b9
Fix missing aardwolf import in binary
2023-11-30 14:29:51 +01:00
Alexander Neff
e3b0e4556e
Rename pipelines
2023-11-30 07:34:54 -05:00
Alexander Neff
be5ce876e3
Add pyvenv config to gitignore
2023-11-30 07:34:10 -05:00
XiaoliChan
88e229a325
Merge remote-tracking branch 'upstream/main' into winrm-better-output
2023-11-29 15:12:04 +08:00
Marshall Hallenbeck
388208d4ea
Merge pull request #128 from termanix/AddNewLdapFlagActiveUsers
...
Add New Ldap Flag --active-users
2023-11-28 11:49:55 -05:00
termanix
d29bb7cf18
Update ldap.py
...
Try to fix Ruff error
Signed-off-by: termanix <[email protected] >
2023-11-28 19:00:44 +03:00
termanix
5ca86fc1d7
Add New Ldap Flag Listing Active Domain Users
2023-11-28 13:40:57 +03:00
XiaoliChan
bbbb61a5e1
Merge remote-tracking branch 'upstream/main' into winrm-better-output
2023-11-28 14:25:54 +08:00
Marshall Hallenbeck
7fa783a09d
Merge branch 'main' into nxcdb-marshall
2023-11-25 22:46:08 -05:00
Marshall Hallenbeck
a6be6c1b07
Merge pull request #121 from Pennyw0rth/ms17-010-error-handling
...
Ms17 010 error handling
2023-11-25 22:45:29 -05:00
Alexander Neff
b59246da68
Replace old WS_PATH variable
2023-11-24 19:59:58 -05:00
Alexander Neff
e48a02d7d8
Switch command line short form to match syntax
2023-11-24 19:58:49 -05:00
Alexander Neff
7c3e9a22da
Cli command now lists all workspaces and changed workspaces output to match git style
2023-11-24 19:55:16 -05:00
Alexander Neff
f08b58de8a
Add cli option to get current workspace
2023-11-24 19:42:24 -05:00
Marshall Hallenbeck
e02fabc6b4
ruff: remove unused import
2023-11-17 22:56:32 -05:00
Marshall Hallenbeck
d0c996fc05
feat(nxcdb): add functionality to create and set workspaces without entering interactive console
2023-11-17 22:51:43 -05:00
Marshall Hallenbeck
861626d061
refactor: deduplicate code and simplify initial db setup
2023-11-17 21:24:03 -05:00
Marshall Hallenbeck
b4f3bacb99
refactor(nxcdb): move shared fdatabase functions to single file
2023-11-17 16:55:57 -05:00
XiaoliChan
3eb421ef2a
Merge branch 'main' into winrm-better-output
2023-11-16 16:29:30 +08:00
Marshall Hallenbeck
29b22b56c7
Merge branch 'main' into ms17-010-error-handling
2023-11-14 10:49:58 -05:00
Marshall Hallenbeck
246cc6c0f2
Merge pull request #120 from Pennyw0rth/e2e_tests_marshall
...
tests: improve output of e2e tests for errors
2023-11-14 10:49:41 -05:00
Marshall Hallenbeck
9b619b86aa
Revert "fix(smb errors): getErrorString only returns one item, not a tuple; fixes #117 "
...
This reverts commit 1784d55bae .
2023-11-13 13:42:45 -05:00
Marshall Hallenbeck
761cf715d0
fix(ms17-010): better error handling to catch invalid SMB responses wduring check
2023-11-13 12:47:28 -05:00
Marshall Hallenbeck
1784d55bae
fix(smb errors): getErrorString only returns one item, not a tuple; fixes #117
2023-11-13 12:34:45 -05:00
Marshall Hallenbeck
c6b8905406
tests: improve output of e2e tests for errors by not coloring the entire output red and printing command before running
2023-11-13 12:17:04 -05:00
Marshall Hallenbeck
fd5d37eb13
Merge branch 'main' into winrm-better-output
2023-11-13 10:17:52 -05:00
Alexander Neff
57e31aef07
Extract laps_search from smb and winrm to /protocols/ldap/laps
2023-11-11 17:31:37 -05:00
XiaoliChan
76f23d422d
[winrm] better output
...
Signed-off-by: XiaoliChan <[email protected] >
2023-11-11 21:20:00 +08:00
sandw1ch
c6e5fdb205
use fstring, delete testing comment
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-24 13:00:22 -05:00
mpgn
5e282156bb
Fix ldap query over 1000 results
2023-10-19 15:30:00 -04:00
sandw1ch
0b7756f3f6
Merge branch 'develop' into main
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-12 16:11:23 -05:00
sandw1ch
50f2e5d1c1
sed "s/'/\"/g"
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 17:23:12 -05:00
sandw1ch
47a158fdc2
Update e2e_commands.txt
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 16:09:38 -05:00
sandw1ch
2e0a73c225
Update and rename get_fgpp.py to pso.py
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 16:07:27 -05:00
sandw1ch
bab6377101
Delete nxc/modules/pso.py
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 16:06:54 -05:00
sandw1ch
9a4594ea40
Update get_fgpp.py
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 15:58:00 -05:00
sandw1ch
6f8143136c
Update get_fgpp.py
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 15:40:13 -05:00
sandw1ch
2915a54811
Update get_fgpp.py
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 14:26:36 -05:00
sandw1ch
0d5030be81
Update poetry.lock
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 13:37:51 -05:00
sandw1ch
cdced86af4
Update e2e_commands.txt to include get_fgpp
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 13:36:39 -05:00
sandw1ch
cbefc31a04
Update pyproject.toml to include dateutil
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 13:30:43 -05:00
sandw1ch
e898c25716
Create get_fgpp.py
...
Signed-off-by: sandw1ch <[email protected] >
2023-10-10 13:18:12 -05:00