-
Notifications
You must be signed in to change notification settings - Fork 147
macOS osascript attack data #1201
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
Open
rviskova13
wants to merge
6
commits into
master
Choose a base branch
from
macos-osascript-data
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
d515578
initial commit
rviskova13 351bdd1
added data yaml file
rviskova13 945ade4
fixed typo in osascript_prompts_user.yml
rviskova13 338e821
fixed the logs file
rviskova13 7a8b432
Update the name in the datasets field
rviskova13 746f531
erased references field
rviskova13 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
datasets/attack_techniques/T1059.002/osascript/osascript_prompts_user.log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| {"preview":false,"result":{"_time":"2026-07-23T14:40:00.000+0000","host":"ip-172-31-18-170.ca-central-1.compute.internal","columns.path":"/usr/bin/osascript","columns.cmdline":"osascript -e \"\\x0A set userInput to text returned of (display dialog \\\"macOS needs to access System Settings\\\" default answer \\\"\\\" with title \\\"System Preferences\\\" with icon caution with hidden answer)\\x0A set shellCommand to \\\"echo \\\\\\\"Captured hidden input: \\\" & quoted form of userInput & \\\"\\\\\\\" > /tmp/captured_system_settings_input.log\\\"\\x0A do shell script shellCommand\\x0A\" ","count":"2"}} | ||
| {"preview":false,"result":{"_time":"2026-07-23T14:40:00.000+0000","host":"ip-172-31-18-170.ca-central-1.compute.internal","columns.path":"/usr/bin/osascript","columns.cmdline":"osascript -e \"display alert \\\"Critical System Error\\\" message \\\"An unexpected system error has occurred and needs your immediate attention. Please contact support.\\\" as critical buttons {\\\"OK\\\"}\" ","count":"1"}} | ||
| {"preview":false,"result":{"_time":"2026-07-23T14:40:00.000+0000","host":"ip-172-31-18-170.ca-central-1.compute.internal","columns.path":"/usr/bin/osascript","columns.cmdline":"osascript -e \"display dialog \\\"A critical security update is available. Please enter your password to install.\\\" default answer \\\"\\\" with title \\\"Software Update\\\" with icon note with hidden answer\" ","count":"1"}} | ||
| {"preview":false,"result":{"_time":"2026-07-23T14:40:00.000+0000","host":"ip-172-31-18-170.ca-central-1.compute.internal","columns.path":"/usr/bin/osascript","columns.cmdline":"osascript -e \"display dialog \\\"Your system has a critical update that needs your immediate attention. Click OK to proceed.\\\" with title \\\"Important System Message\\\" with icon caution\" ","count":"1"}} | ||
| {"preview":false,"result":{"_time":"2026-07-23T14:45:00.000+0000","host":"ip-172-31-18-170.ca-central-1.compute.internal","columns.path":"/usr/bin/osascript","columns.cmdline":"osascript -e \"\\x0A set userInput to text returned of (display dialog \\\"macOS needs to access System Settings\\\" default answer \\\"\\\" with title \\\"System Preferences\\\" with icon caution with hidden answer)\\x0A set shellCommand to \\\"echo \\\\\\\"Captured hidden input: \\\" & quoted form of userInput & \\\"\\\\\\\" > /tmp/captured_system_settings_input.log\\\"\\x0A do shell script shellCommand\\x0A\" ","count":"1"}} | ||
| {"preview":false,"lastrow":true,"result":{"_time":"2026-07-23T14:45:00.000+0000","host":"ip-172-31-18-170.ca-central-1.compute.internal","columns.path":"/usr/bin/osascript","columns.cmdline":"osascript -e \"display dialog \\\"A critical security update is available. Please enter your password to install.\\\" default answer \\\"\\\" with title \\\"Software Update\\\" with icon note with hidden answer\" ","count":"1"}} | ||
13 changes: 13 additions & 0 deletions
13
datasets/attack_techniques/T1059.002/osascript/osascript_prompts_user.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| author: Radka Viskova | ||
| id: 67d286c1-1f42-47c1-806a-eb976bb9c542 | ||
| date: '2026-08-07' | ||
| description: Generated dataset for osascript execution prompting for user interaction with osquery and endpoint security | ||
| environment: TalosOffensiveLab | ||
| directory: osascript | ||
| mitre_technique: | ||
| - T1059.002 | ||
| datasets: | ||
| - name: osascript_prompts_user.log | ||
| path: /datasets/attack_techniques/T1059.002/osascript/osascript_prompts_user.log | ||
| sourcetype: osquery:results | ||
| source: osquery |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Logs have to be pushed via git lfs