|
| 1 | +{ |
| 2 | + "Files": { |
| 3 | + "./macOS/SpectralBlur-macshare": { |
| 4 | + "Syscalls": [ |
| 5 | + "connect", |
| 6 | + "execve", |
| 7 | + "fork", |
| 8 | + "getlogin", |
| 9 | + "pthread_create", |
| 10 | + "recv", |
| 11 | + "send", |
| 12 | + "sendmsg", |
| 13 | + "sendto", |
| 14 | + "sysctl", |
| 15 | + "unlink" |
| 16 | + ], |
| 17 | + "Pledge": [ |
| 18 | + "exec", |
| 19 | + "id", |
| 20 | + "inet", |
| 21 | + "rpath", |
| 22 | + "sysctl", |
| 23 | + "wpath" |
| 24 | + ], |
| 25 | + "Behaviors": { |
| 26 | + "combo/backdoor/generic/upload_terminal_exec": { |
| 27 | + "Description": "Uploads, provides a terminal, runs program", |
| 28 | + "Strings": [ |
| 29 | + "_uname", |
| 30 | + "_unlink", |
| 31 | + "_waitpid", |
| 32 | + "execve", |
| 33 | + "shell", |
| 34 | + "tcsetattr", |
| 35 | + "upload" |
| 36 | + ], |
| 37 | + "RiskScore": 3, |
| 38 | + "RiskLevel": "HIGH" |
| 39 | + }, |
| 40 | + "device/pseudo_terminal": { |
| 41 | + "Description": "pseudo-terminal access functions", |
| 42 | + "Strings": [ |
| 43 | + "grantpt", |
| 44 | + "posix_openpt", |
| 45 | + "ptsname", |
| 46 | + "unlockpt" |
| 47 | + ], |
| 48 | + "RiskScore": 2, |
| 49 | + "RiskLevel": "MED" |
| 50 | + }, |
| 51 | + "env/SHELL": { |
| 52 | + "Description": "SHELL", |
| 53 | + "Strings": [ |
| 54 | + "SHELL" |
| 55 | + ], |
| 56 | + "RiskScore": 1, |
| 57 | + "RiskLevel": "LOW" |
| 58 | + }, |
| 59 | + "exec/program": { |
| 60 | + "Description": "executes another program", |
| 61 | + "Strings": [ |
| 62 | + "execve" |
| 63 | + ], |
| 64 | + "RiskScore": 2, |
| 65 | + "RiskLevel": "MED" |
| 66 | + }, |
| 67 | + "exec/program/background": { |
| 68 | + "Description": "Waits for a process to exit", |
| 69 | + "Strings": [ |
| 70 | + "waitpid" |
| 71 | + ], |
| 72 | + "RiskScore": 1, |
| 73 | + "RiskLevel": "LOW" |
| 74 | + }, |
| 75 | + "fs/file/delete": { |
| 76 | + "Description": "deletes files", |
| 77 | + "Strings": [ |
| 78 | + "unlink" |
| 79 | + ], |
| 80 | + "RiskScore": 1, |
| 81 | + "RiskLevel": "LOW" |
| 82 | + }, |
| 83 | + "fs/symlink/resolve": { |
| 84 | + "Description": "resolves symbolic links", |
| 85 | + "Strings": [ |
| 86 | + "realpath" |
| 87 | + ], |
| 88 | + "RiskScore": 1, |
| 89 | + "RiskLevel": "LOW" |
| 90 | + }, |
| 91 | + "kernel/uname/get": { |
| 92 | + "Description": "get system identification (uname)", |
| 93 | + "Strings": [ |
| 94 | + "uname" |
| 95 | + ], |
| 96 | + "RiskScore": 2, |
| 97 | + "RiskLevel": "MED" |
| 98 | + }, |
| 99 | + "net/download": { |
| 100 | + "Description": "Downloads files", |
| 101 | + "Strings": [ |
| 102 | + "download" |
| 103 | + ], |
| 104 | + "RiskScore": 2, |
| 105 | + "RiskLevel": "MED" |
| 106 | + }, |
| 107 | + "net/hostname/resolve": { |
| 108 | + "Description": "resolves network hosts via name", |
| 109 | + "Strings": [ |
| 110 | + "gethostbyname" |
| 111 | + ], |
| 112 | + "RiskScore": 1, |
| 113 | + "RiskLevel": "LOW" |
| 114 | + }, |
| 115 | + "net/ip/parse": { |
| 116 | + "Description": "Parse an IP address", |
| 117 | + "Strings": [ |
| 118 | + "inet_addr" |
| 119 | + ], |
| 120 | + "RiskScore": 2, |
| 121 | + "RiskLevel": "MED" |
| 122 | + }, |
| 123 | + "net/ip/string": { |
| 124 | + "Description": "converts IP address from byte to string", |
| 125 | + "Strings": [ |
| 126 | + "inet_ntoa" |
| 127 | + ], |
| 128 | + "RiskScore": 2, |
| 129 | + "RiskLevel": "MED" |
| 130 | + }, |
| 131 | + "net/socket/connect": { |
| 132 | + "Description": "initiate a connection on a socket", |
| 133 | + "Strings": [ |
| 134 | + "_connect" |
| 135 | + ], |
| 136 | + "RiskScore": 1, |
| 137 | + "RiskLevel": "LOW" |
| 138 | + }, |
| 139 | + "net/socket/receive": { |
| 140 | + "Description": "receive a message from a socket", |
| 141 | + "Strings": [ |
| 142 | + "_recv" |
| 143 | + ], |
| 144 | + "RiskScore": 1, |
| 145 | + "RiskLevel": "LOW" |
| 146 | + }, |
| 147 | + "net/socket/send": { |
| 148 | + "Description": "send a message to a socket", |
| 149 | + "Strings": [ |
| 150 | + "_send" |
| 151 | + ], |
| 152 | + "RiskScore": 1, |
| 153 | + "RiskLevel": "LOW" |
| 154 | + }, |
| 155 | + "net/upload": { |
| 156 | + "Description": "Uploads files", |
| 157 | + "Strings": [ |
| 158 | + "upload" |
| 159 | + ], |
| 160 | + "RiskScore": 2, |
| 161 | + "RiskLevel": "MED" |
| 162 | + }, |
| 163 | + "process/create": { |
| 164 | + "Description": "Create a new child process using fork", |
| 165 | + "Strings": [ |
| 166 | + "_fork" |
| 167 | + ], |
| 168 | + "RiskScore": 1, |
| 169 | + "RiskLevel": "LOW" |
| 170 | + }, |
| 171 | + "process/current/username/get": { |
| 172 | + "Description": "get login name", |
| 173 | + "Strings": [ |
| 174 | + "getlogin" |
| 175 | + ], |
| 176 | + "RiskScore": 1, |
| 177 | + "RiskLevel": "LOW" |
| 178 | + }, |
| 179 | + "process/thread/create": { |
| 180 | + "Description": "create a new thread", |
| 181 | + "Strings": [ |
| 182 | + "pthread_create" |
| 183 | + ], |
| 184 | + "RiskScore": 2, |
| 185 | + "RiskLevel": "MED" |
| 186 | + }, |
| 187 | + "random/insecure": { |
| 188 | + "Description": "generate random numbers insecurely", |
| 189 | + "Strings": [ |
| 190 | + "_rand", |
| 191 | + "srand" |
| 192 | + ], |
| 193 | + "RiskScore": 1, |
| 194 | + "RiskLevel": "LOW" |
| 195 | + } |
| 196 | + } |
| 197 | + } |
| 198 | + } |
| 199 | +} |
0 commit comments