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

Add MacOS applications path #96

Merged
merged 12 commits into from
Aug 31, 2023

Conversation

@Zawadidone
Copy link
Contributor Author

The acquire container is larger compared to a Windows container, but these paths could contain valuable forensics traces and are needed by target-query (https://github.com/fox-it/dissect.target/blob/b6ea46e2ed95321440df6c8c6b65803af06da859/dissect/target/plugins/os/unix/bsd/osx/_os.py#L21) to detect the OSX operating system.

ls -lh dissect.sys_20230829104939.tar 
-rw-r--r-- 1 root staff 21G Aug 29 13:15 dissect.sys_20230829104939.tar
target-query -f hostname,os,version -t dissect.sys_20230829104939.tar  
<Target dissect.sys_20230829104939.tar> osx dissect.sys macOS 13.4 (22F66)

@Schamper
Copy link
Member

That's quite a bit larger. Can you give some examples of the forensic value? For the OS plugin, we can probably fix that some other way.

Perhaps it's an idea to only put this in the full profile for MacOS?

@Zawadidone
Copy link
Contributor Author

I mixed up the folders.

For the path Applications the file Info.plist is enough which gives an overview of installed applications (https://developer.apple.com/documentation/bundleresources/information_property_list).

The path /Library/Application Support is used in many blog post written by Objective See and observed by us in a few 3CX incidents. I have added a filter because the files that are of interest are usually not that big.

@Schamper
Copy link
Member

I see, that makes more sense!

@Schamper Schamper requested a review from Poeloe August 29, 2023 21:33
acquire/acquire.py Outdated Show resolved Hide resolved
acquire/acquire.py Outdated Show resolved Hide resolved
acquire/acquire.py Outdated Show resolved Hide resolved
acquire/acquire.py Outdated Show resolved Hide resolved
acquire/acquire.py Outdated Show resolved Hide resolved
acquire/acquire.py Outdated Show resolved Hide resolved
@Zawadidone Zawadidone requested a review from Poeloe August 30, 2023 15:59
@codecov
Copy link

codecov bot commented Aug 31, 2023

Codecov Report

Merging #96 (9e4528c) into main (49e177e) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #96      +/-   ##
==========================================
+ Coverage   44.30%   44.38%   +0.08%     
==========================================
  Files          22       22              
  Lines        2767     2771       +4     
==========================================
+ Hits         1226     1230       +4     
  Misses       1541     1541              
Flag Coverage Δ
unittests 44.38% <100.00%> (+0.08%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
acquire/acquire.py 41.27% <100.00%> (+0.24%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Poeloe Poeloe merged commit 4b695c5 into fox-it:main Aug 31, 2023
10 checks passed
@Zawadidone Zawadidone deleted the feature/macos_applications_path branch August 31, 2023 12:50
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

Successfully merging this pull request may close these issues.

3 participants