Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tcpip_vtypes.py #679

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 19 additions & 1 deletion volatility/plugins/overlays/windows/tcpip_vtypes.py
Expand Up @@ -501,7 +501,7 @@ def modification(self, profile):
profile.vtypes.update(tcpip_vtypes_win_10_x64)

class Win10x64_15063_Tcpip(obj.ProfileModification):
"""TCP Endpoint for Creators and Fall Creators"""
"""TCP Endpoint for Redstone 2"""

before = ['Win10x64Tcpip']
conditions = {'os': lambda x: x == 'windows',
Expand All @@ -513,5 +513,23 @@ def modification(self, profile):
profile.merge_overlay({
'_TCP_ENDPOINT': [ None, {
'Owner' : [ 0x270, ['pointer', ['_EPROCESS']]],
'CreateTime' : [ 0x280, ['WinTimeStamp', dict(is_utc = True)]],
}],
})

class Win10x64_16299_Tcpip(obj.ProfileModification):
"""TCP Endpoint for Redstone 3 and above"""

before = ['Win10x64_15063_Tcpip']
conditions = {'os': lambda x: x == 'windows',
'memory_model': lambda x: x == '64bit',
'major': lambda x : x == 6,
'minor': lambda x : x == 4,
'build': lambda x : x >= 16299}
def modification(self, profile):
profile.merge_overlay({
'_TCP_ENDPOINT': [ None, {
'Owner' : [ 0x278, ['pointer', ['_EPROCESS']]],
'CreateTime' : [ 0x288, ['WinTimeStamp', dict(is_utc = True)]],
}],
})