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

Windows shim databases produce spurious UTMP events #4839

Open
Spferical opened this issue Mar 21, 2024 · 1 comment
Open

Windows shim databases produce spurious UTMP events #4839

Spferical opened this issue Mar 21, 2024 · 1 comment

Comments

@Spferical
Copy link
Contributor

Describe the problem:

Plaso parses Windows sdb shim database files as utmp files. This false positive produces false linux:utmp:event events that look like e.g. User: EXE.AVAJÜ� Hostname: � Terminal: sdbf�x‚� PID: 0 Terminal identifier: 108 Status: NEW_TIME IP Address: 0338:0b60:0198:0000:0000:0378:0e00:0000 Exit status: 0

To Reproduce:

Plaso main branch, commit ed8a139

psteal --status-view linear -d -o dynamic -w out --source frxmain.sdb && cat out
<snip>
datetime,timestamp_desc,source,source_long,message,parser,display_name,tag
1970-01-01T00:31:36.601474+00:00,Content Modification Time,LOG,UTMP session,User: EXE.AVAJÜ Hostname: 
                                                                                                       Terminal: sdbfx‚ PID: 0 Terminal identifier: 108 Status: NEW_TIME IP Address: 0338:0b60:0198:0000:0000:0378:0e00:0000 Exit status: 0,utmp,OS:<snip>/frxmain.sdb,-

Data source: WindowsApplicationCompatibilityInstalledShimDatabases ForensicArtifacts artifact from Windows Server 2019 Standard. All 5 %%environ_windir%%\AppPatch\*.sdb produce similar results.

The method you used to install Plaso: pip install . in a python 3.11.4 virtualenv.

Expected behavior:

No false positive events.

@joachimmetz
Copy link
Member

Thanks for flagging, unfortunately this is a side effect of certain formats not having many unique signatures. Similar issue:
#3655

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants