Skip to content

Commit

Permalink
Merge pull request #818 from mandiant/rules52-34
Browse files Browse the repository at this point in the history
add `send SMS on Android`
  • Loading branch information
mr-tz authored Oct 9, 2023
2 parents a1e83cf + 7c2ac2d commit fcfb7ef
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions nursery/send-sms-on-android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
rule:
meta:
name: send SMS on Android
namespace: communication/sms
authors:
- "@mr-tz"
scope: function
# att&ck:
# - Mobile::SMS Control [T1582]
features:
- and:
- os: android
# ... = (*env)->FindClass(env, "android/telephony/SmsManager");
- string: "android/telephony/SmsManager"
- optional:
- or:
- and:
- arch: i386
- offset: 0x30 = (*env)->FindClass
- and:
- arch: amd64
- offset: 0x1C = (*env)->FindClass
# ... = (*env)->GetMethodID(env, ..., "sendTextMessage" ...);
- string: "sendTextMessage"

0 comments on commit fcfb7ef

Please sign in to comment.