Analysis

  • max time kernel
    35s
  • max time network
    38s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240226-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-03-2024 19:56

General

  • Target

    https://cdn.discordapp.com/attachments/1221895306933833802/1221910637907673098/Discord_rat.rar?ex=66144bf6&is=6601d6f6&hm=f75b016036e9a052db3a3eb9cf1b0e7e7bc0e96ed830022f2dc98e7887723c66&

Malware Config

Signatures

  • Discord RAT

    A RAT written in C# using Discord as a C2.

  • Executes dropped EXE 1 IoCs
  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

    SCSI information is often read in order to detect sandboxing environments.

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 27 IoCs
  • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 8 IoCs
  • Suspicious use of FindShellTrayWindow 64 IoCs
  • Suspicious use of SendNotifyMessage 54 IoCs
  • Suspicious use of WriteProcessMemory 64 IoCs

Processes

  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument https://cdn.discordapp.com/attachments/1221895306933833802/1221910637907673098/Discord_rat.rar?ex=66144bf6&is=6601d6f6&hm=f75b016036e9a052db3a3eb9cf1b0e7e7bc0e96ed830022f2dc98e7887723c66&
    1⤵
    • Enumerates system info in registry
    • Modifies registry class
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    • Suspicious use of WriteProcessMemory
    PID:376
    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=crashpad-handler "--user-data-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" /prefetch:7 --monitor-self-annotation=ptype=crashpad-handler "--database=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad" "--metrics-dir=C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data" --annotation=IsOfficialBuild=1 --annotation=channel= --annotation=chromium-version=92.0.4515.131 "--annotation=exe=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --annotation=plat=Win64 "--annotation=prod=Microsoft Edge" --annotation=ver=92.0.902.67 --initial-client-data=0xfc,0x100,0x104,0xd8,0x108,0x7ffa3bcf46f8,0x7ffa3bcf4708,0x7ffa3bcf4718
      2⤵
        PID:1928
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --gpu-preferences=UAAAAAAAAADgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAeAAAAAAAAAAoAAAABAAAACAAAAAAAAAAKAAAAAAAAAAwAAAAAAAAADgAAAAAAAAAEAAAAAAAAAAAAAAADQAAABAAAAAAAAAAAQAAAA0AAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAHAAAADQAAAAgAAAAAAAAACAAAAAAAAAA= --mojo-platform-channel-handle=2200 /prefetch:2
        2⤵
          PID:3700
        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2236 /prefetch:3
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:1196
        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=storage.mojom.StorageService --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2940 /prefetch:8
          2⤵
            PID:4756
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=6 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3320 /prefetch:1
            2⤵
              PID:4260
            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=5 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=3340 /prefetch:1
              2⤵
                PID:824
              • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=7 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5232 /prefetch:1
                2⤵
                  PID:2392
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=8 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5252 /prefetch:1
                  2⤵
                    PID:1696
                  • C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5600 /prefetch:8
                    2⤵
                      PID:1700
                    • C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\92.0.902.67\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5600 /prefetch:8
                      2⤵
                      • Suspicious behavior: EnumeratesProcesses
                      PID:2728
                    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=10 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5028 /prefetch:1
                      2⤵
                        PID:2528
                      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --instant-process --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=11 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5744 /prefetch:1
                        2⤵
                          PID:3868
                        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=edge_collections.mojom.CollectionsDataManager --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --service-sandbox-type=collections --mojo-platform-channel-handle=5228 /prefetch:8
                          2⤵
                            PID:2972
                          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --disable-client-side-phishing-detection --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --renderer-client-id=14 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=4812 /prefetch:1
                            2⤵
                              PID:3440
                            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=quarantine.mojom.Quarantine --field-trial-handle=2068,12227348459893538958,2158737528395716548,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=6052 /prefetch:8
                              2⤵
                              • Suspicious behavior: EnumeratesProcesses
                              PID:2792
                          • C:\Windows\System32\CompPkgSrv.exe
                            C:\Windows\System32\CompPkgSrv.exe -Embedding
                            1⤵
                              PID:4864
                            • C:\Windows\System32\CompPkgSrv.exe
                              C:\Windows\System32\CompPkgSrv.exe -Embedding
                              1⤵
                                PID:2136
                              • C:\Windows\System32\rundll32.exe
                                C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
                                1⤵
                                  PID:5556
                                • C:\Program Files\7-Zip\7zG.exe
                                  "C:\Program Files\7-Zip\7zG.exe" x -o"C:\Users\Admin\Downloads\Discord_rat\" -spe -an -ai#7zMap13266:84:7zEvent24090
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  • Suspicious use of FindShellTrayWindow
                                  PID:1700
                                • C:\Users\Admin\Downloads\Discord_rat\Discord rat.exe
                                  "C:\Users\Admin\Downloads\Discord_rat\Discord rat.exe"
                                  1⤵
                                  • Executes dropped EXE
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:4392
                                • C:\Windows\system32\taskmgr.exe
                                  "C:\Windows\system32\taskmgr.exe" /4
                                  1⤵
                                  • Checks SCSI registry key(s)
                                  • Suspicious behavior: EnumeratesProcesses
                                  • Suspicious use of AdjustPrivilegeToken
                                  • Suspicious use of FindShellTrayWindow
                                  • Suspicious use of SendNotifyMessage
                                  PID:3032

                                Network

                                MITRE ATT&CK Enterprise v15

                                Replay Monitor

                                Loading Replay Monitor...

                                Downloads

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad\settings.dat

                                  Filesize

                                  152B

                                  MD5

                                  9ffb5f81e8eccd0963c46cbfea1abc20

                                  SHA1

                                  a02a610afd3543de215565bc488a4343bb5c1a59

                                  SHA256

                                  3a654b499247e59e34040f3b192a0069e8f3904e2398cbed90e86d981378e8bc

                                  SHA512

                                  2d21e18ef3f800e6e43b8cf03639d04510433c04215923f5a96432a8aa361fdda282cd444210150d9dbf8f028825d5bc8a451fd53bd3e0c9528eeb80d6e86597

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Crashpad\settings.dat

                                  Filesize

                                  152B

                                  MD5

                                  e1b45169ebca0dceadb0f45697799d62

                                  SHA1

                                  803604277318898e6f5c6fb92270ca83b5609cd5

                                  SHA256

                                  4c0224fb7cc26ccf74f5be586f18401db57cce935c767a446659b828a7b5ee60

                                  SHA512

                                  357965b8d5cfaf773dbd9b371d7e308d1c86a6c428e542adbfe6bac34a7d2061d0a2f59e84e5b42768930e9b109e9e9f2a87e95cf26b3a69cbff05654ee42b4e

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Network Persistent State

                                  Filesize

                                  186B

                                  MD5

                                  094ab275342c45551894b7940ae9ad0d

                                  SHA1

                                  2e7ce26fe2eb9be641ae929d0c9cc0dfa26c018e

                                  SHA256

                                  ef1739b833a1048ee1bd55dcbac5b1397396faca1ad771f4d6c2fe58899495a3

                                  SHA512

                                  19d0c688dc1121569247111e45de732b2ab86c71aecdde34b157cfd1b25c53473ed3ade49a97f8cb2ddc4711be78fa26c9330887094e031e9a71bb5c29080b0d

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Preferences

                                  Filesize

                                  6KB

                                  MD5

                                  1b1068f8de88fae8ede9bcefd0dbfc0d

                                  SHA1

                                  ecc765f8b041dab39c8c980228201f9fec117bab

                                  SHA256

                                  924ecd9b5740e1c6bab4f35f504007d1ad4c6d80a7251a842d82f5f354df52cf

                                  SHA512

                                  aebd303f557df67708212e3a1a644efff75dafa3a446f7f39485e31079cbce62aa684bae9a7b8993bbc11b13ba9a88ece19e2ff26303de9e227be09f1b9257aa

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Preferences

                                  Filesize

                                  6KB

                                  MD5

                                  ecab47a3ecfad3dfe3d23c30c0aea7cf

                                  SHA1

                                  47f122d68799edf076f2ff8e8ba23a649951ba56

                                  SHA256

                                  05b4c0778993bf3b6317dc253a5caa3b6f8096342bc9687f0a4c37a565a6ddea

                                  SHA512

                                  06787a28d548154c5a262f987ca8326ed3a25039e9962795dcda0880c4fa6e287d8a5b19ab242e51afd51b65b9b0f17af1d23de9b9075989458b388b1b3e5f15

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\data_reduction_proxy_leveldb\CURRENT

                                  Filesize

                                  16B

                                  MD5

                                  6752a1d65b201c13b62ea44016eb221f

                                  SHA1

                                  58ecf154d01a62233ed7fb494ace3c3d4ffce08b

                                  SHA256

                                  0861415cada612ea5834d56e2cf1055d3e63979b69eb71d32ae9ae394d8306cd

                                  SHA512

                                  9cfd838d3fb570b44fc3461623ab2296123404c6c8f576b0de0aabd9a6020840d4c9125eb679ed384170dbcaac2fa30dc7fa9ee5b77d6df7c344a0aa030e0389

                                • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Local State

                                  Filesize

                                  12KB

                                  MD5

                                  4fa0c0b711b29dae7b8147f660280ca6

                                  SHA1

                                  afba3921dc004d25359029f413dc6219108de39a

                                  SHA256

                                  d51ef2cfb4e2bf1be55a999793b979a319528115ab521585d496d8f5b3db2782

                                  SHA512

                                  737acbf0229e23f20af178d228b294dbe6622c526ba00b25ef5f2927910c26be03aa0c9c01f893069e190d46277d68e64c1937e551bcd86049d591911a268154

                                • C:\Users\Admin\Downloads\Discord_rat.rar

                                  Filesize

                                  26KB

                                  MD5

                                  6570afc23d023f423773937715be9283

                                  SHA1

                                  281089f2c2f6f88affba3a74445125e45ef61162

                                  SHA256

                                  235de0c475c78f4708438d0e9b2b97f278ccefa8e7b58033422c1049242547dd

                                  SHA512

                                  5fa324a47542ee4f3dcb06567d60b851fda85fb4bd2c95ce8388ed21c53721c1f8ddaa66ef68b413579d311bd5d0ae70d64913bfee9987dfcabe037da4ac42f6

                                • C:\Users\Admin\Downloads\Discord_rat\Discord rat.exe

                                  Filesize

                                  79KB

                                  MD5

                                  d13905e018eb965ded2e28ba0ab257b5

                                  SHA1

                                  6d7fe69566fddc69b33d698591c9a2c70d834858

                                  SHA256

                                  2bd631c6665656673a923c13359b0dc211debc05b2885127e26b0dce808e2dec

                                  SHA512

                                  b95bfdebef33ac72b6c21cdf0abb4961222b7efd17267cd7236e731dd0b6105ece28e784a95455f1ffc8a6dd1d580a467b07b3bd8cb2fb19e2111f1a864c97cb

                                • memory/3032-155-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-157-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-161-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-160-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-159-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-149-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-150-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-151-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-158-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/3032-156-0x000001BA62DA0000-0x000001BA62DA1000-memory.dmp

                                  Filesize

                                  4KB

                                • memory/4392-145-0x000001D4EC0C0000-0x000001D4EC282000-memory.dmp

                                  Filesize

                                  1.8MB

                                • memory/4392-144-0x000001D4D19E0000-0x000001D4D19F8000-memory.dmp

                                  Filesize

                                  96KB

                                • memory/4392-148-0x000001D4ED540000-0x000001D4EDA68000-memory.dmp

                                  Filesize

                                  5.2MB

                                • memory/4392-147-0x000001D4D36E0000-0x000001D4D36F0000-memory.dmp

                                  Filesize

                                  64KB

                                • memory/4392-146-0x00007FFA2B4F0000-0x00007FFA2BFB1000-memory.dmp

                                  Filesize

                                  10.8MB

                                • memory/4392-162-0x00007FFA2B4F0000-0x00007FFA2BFB1000-memory.dmp

                                  Filesize

                                  10.8MB