Hostile 99% java Download

Sample.java

SMS interception and component disabling

Suppresses received SMS and disables a component with a TCP connectionAndroid source collects received SMS content
SHA-256e9b31c0547a9a3fbd6537333d2f8414928184bb58d72d787b384a637aca27dc2

Evidence

Android source reads SMS message body lines 1–16
1package example;
2import android.telephony.SmsMessage;
3import android.content.pm.PackageManager;
4import java.net.Socket;
5final class RuleProbe {
6 static final String ACTION = "android.provider.Telephony.SMS_RECEIVED";
7 void reads(SmsMessage message) {
8 message.getOriginatingAddress();
9 message.getMessageBody();
10 }
11 void observe(Receiver receiver) { receiver.abortBroadcast(); }
12 void toggle(PackageManager manager) {
13 manager.setComponentEnabledSetting(null, PackageManager.COMPONENT_ENABLED_STATE_DISABLED, 0);
14 }
15 Socket outbound() throws Exception { return new Socket("example.invalid", 4000); }
16}

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.