aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan McNulty <bryanmcnulty@protonmail.com>2025-03-12 07:33:52 -0500
committerBryan McNulty <bryanmcnulty@protonmail.com>2025-03-12 07:33:52 -0500
commitf04fb03707cb10e637bda891621067549174e39f (patch)
treec91384826727cd14caf1082472023b308f76630b
parent11741c4cde3d552211fbb04eddd719b3dc3bd472 (diff)
downloadgoexec-f04fb03707cb10e637bda891621067549174e39f.tar.gz
goexec-f04fb03707cb10e637bda891621067549174e39f.zip
Fixed issue with NTLMv2 authentication using NTLM hash
-rw-r--r--.gitignore5
-rw-r--r--TESTING.md16
-rw-r--r--TODO.md7
-rw-r--r--go.mod2
-rw-r--r--go.sum4
5 files changed, 27 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index 62e4c1f..69c7e5a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,8 @@
/.idea
/goexec
/patch
+/.local
+
+# For now
+/go.work
+/go.work.sum
diff --git a/TESTING.md b/TESTING.md
new file mode 100644
index 0000000..5e6ed76
--- /dev/null
+++ b/TESTING.md
@@ -0,0 +1,16 @@
+# Testing
+
+## Known Issues
+
+| Issue | Fixed | Fix |
+|:------------------------------------------------|:------|:-------------------------------------------------------------------------------------|
+| NTLMv2 authentication broken when using NT hash | yes | https://github.com/oiweiwei/go-msrpc/commit/e65ccab483f45ebf545fd1122cb405931cc3c886 |
+| Kerberos authentication broken for DCOM module | no | |
+
+## Windows Server 2025
+
+### DCOM
+
+- [X] `goexec dcom mmc $target -u "$auth_user" -H "$auth_nt" -c "$cmd" --debug --no-epm`
+
+## Windows 11 Pro \ No newline at end of file
diff --git a/TODO.md b/TODO.md
index 610751f..7d66ad9 100644
--- a/TODO.md
+++ b/TODO.md
@@ -10,14 +10,13 @@
- [X] add dynamic string binding support
- [X] general clean up. Use TSCH & WMI as reference
-- [ ] WMI `reg` subcommand - read & edit the registry
-
-- [ ] Add DCOM module
- - [ ] MMC20.Application method
+- [X] Add DCOM module
+ - [X] MMC20.Application method
- [ ] Add psexec module (RemComSvc)
- [ ] Add support for dynamic service executable (of course)
+- [ ] WMI `reg` subcommand - read & edit the registry
### Other
diff --git a/go.mod b/go.mod
index 56ba734..58828e7 100644
--- a/go.mod
+++ b/go.mod
@@ -5,7 +5,7 @@ go 1.24.0
require (
github.com/RedTeamPentesting/adauth v0.1.1-0.20250304075117-acd47d454877
github.com/google/uuid v1.6.0
- github.com/oiweiwei/go-msrpc v1.2.3
+ github.com/oiweiwei/go-msrpc v1.2.4
github.com/rs/zerolog v1.33.0
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.6
diff --git a/go.sum b/go.sum
index 00f7472..1105eac 100644
--- a/go.sum
+++ b/go.sum
@@ -42,8 +42,8 @@ github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/
github.com/mattn/go-isatty v0.0.19/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
-github.com/oiweiwei/go-msrpc v1.2.3 h1:Wluv8bB0+Gxo+sMcU+0+a5WThqAEm1l84eHBQOWXoBU=
-github.com/oiweiwei/go-msrpc v1.2.3/go.mod h1:ev+Bg4HdktdaLvwQ2RcwTlgvx7boe+fskcdUlesepdM=
+github.com/oiweiwei/go-msrpc v1.2.4 h1:edFTNHkXqH/cssj0MDf1eRjW8xavdFNN2OrlteC3dRk=
+github.com/oiweiwei/go-msrpc v1.2.4/go.mod h1:ev+Bg4HdktdaLvwQ2RcwTlgvx7boe+fskcdUlesepdM=
github.com/oiweiwei/go-smb2.fork v1.0.0 h1:xHq/eYPM8hQEO/nwCez8YwHWHC8mlcsgw/Neu52fPN4=
github.com/oiweiwei/go-smb2.fork v1.0.0/go.mod h1:h0CzLVvGAmq39izdYVHKyI5cLv6aHdbQAMKEe4dz4N8=
github.com/oiweiwei/gokrb5.fork/v9 v9.0.2 h1:JNkvXMuOEWNXJKzLiyROGfdK31/1RQWA9e5gJxAsl50=