Skip to content

Commit 495f3a9

Browse files
authored
Merge pull request #1277 from dgmcdona/dgmcdona/windows-netscan-missing-connections
Windows: Netscan - fix missing TCP connections
2 parents 5a6958b + d9dc28d commit 495f3a9

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

volatility3/framework/plugins/windows/netscan.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def create_netscan_constraints(
7676

7777
# ~ vollog.debug("Using pool size constraints: TcpL {}, TcpE {}, UdpA {}".format(tcpl_size, tcpe_size, udpa_size))
7878

79-
return [
79+
constraints = [
8080
# TCP listener
8181
poolscanner.PoolConstraint(
8282
b"TcpL",
@@ -100,6 +100,19 @@ def create_netscan_constraints(
100100
),
101101
]
102102

103+
if symbol_table.startswith("netscan-win10-20348"):
104+
vollog.debug("Adding additional pool constraint for `TTcb` tags")
105+
constraints.append(
106+
poolscanner.PoolConstraint(
107+
b"TTcb",
108+
type_name=symbol_table + constants.BANG + "_TCP_ENDPOINT",
109+
size=(tcpe_size, None),
110+
page_type=poolscanner.PoolType.NONPAGED | poolscanner.PoolType.FREE,
111+
)
112+
)
113+
114+
return constraints
115+
103116
@classmethod
104117
def determine_tcpip_version(
105118
cls,

0 commit comments

Comments
 (0)