Analysis

  • max time kernel
    64s
  • max time network
    65s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240426-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240426-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-05-2024 19:48

Errors

Reason
Machine shutdown

General

  • Target

    https://github.com/Azer14530/Discord-Token-Logger-v1/archive/refs/heads/main.zip

Malware Config

Extracted

Family

discordrat

Attributes
  • discord_token

    MTIwMTcxMTcxNzM5MTAyMDAzMg.GFEkdn._uH4uIuYoULhWwjSm4-qMK5ErSzsRws2cjlsHo

  • server_id

    1201711717391020032

Signatures

  • Discord RAT

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

  • Enumerates system info in registry 2 TTPs 3 IoCs
  • Modifies data under HKEY_USERS 15 IoCs
  • Modifies registry class 1 IoCs
  • Suspicious behavior: EnumeratesProcesses 8 IoCs
  • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 9 IoCs
  • Suspicious use of FindShellTrayWindow 33 IoCs
  • Suspicious use of SendNotifyMessage 24 IoCs
  • Suspicious use of SetWindowsHookEx 1 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://github.com/Azer14530/Discord-Token-Logger-v1/archive/refs/heads/main.zip
    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:4292
    • 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,0x7ffaa6f946f8,0x7ffaa6f94708,0x7ffaa6f94718
      2⤵
        PID:4456
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=2100,134345725350870498,5347683837579266656,131072 --gpu-preferences=UAAAAAAAAADgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHgAAAAAAAAAeAAAAAAAAAAoAAAABAAAACAAAAAAAAAAKAAAAAAAAAAwAAAAAAAAADgAAAAAAAAAEAAAAAAAAAAAAAAADQAAABAAAAAAAAAAAQAAAA0AAAAQAAAAAAAAAAQAAAANAAAAEAAAAAAAAAAHAAAADQAAAAgAAAAAAAAACAAAAAAAAAA= --mojo-platform-channel-handle=2136 /prefetch:2
        2⤵
          PID:3060
        • 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=2100,134345725350870498,5347683837579266656,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2248 /prefetch:3
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:3292
        • 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=2100,134345725350870498,5347683837579266656,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2788 /prefetch:8
          2⤵
            PID:4972
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=3324 /prefetch:1
            2⤵
              PID:2848
            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=3332 /prefetch:1
              2⤵
                PID:4608
              • 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=2100,134345725350870498,5347683837579266656,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5388 /prefetch:8
                2⤵
                  PID:3452
                • 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=2100,134345725350870498,5347683837579266656,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=5388 /prefetch:8
                  2⤵
                  • Suspicious behavior: EnumeratesProcesses
                  PID:1828
                • 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=2100,134345725350870498,5347683837579266656,131072 --lang=en-US --service-sandbox-type=collections --mojo-platform-channel-handle=4780 /prefetch:8
                  2⤵
                    PID:2692
                  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=5436 /prefetch:1
                    2⤵
                      PID:748
                    • 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=2100,134345725350870498,5347683837579266656,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=4832 /prefetch:8
                      2⤵
                      • Suspicious behavior: EnumeratesProcesses
                      PID:2996
                    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=12 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=6092 /prefetch:1
                      2⤵
                        PID:5296
                      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=13 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=6064 /prefetch:1
                        2⤵
                          PID:5304
                        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=5096 /prefetch:1
                          2⤵
                            PID:5576
                          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=2100,134345725350870498,5347683837579266656,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=15 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=6336 /prefetch:1
                            2⤵
                              PID:5584
                          • C:\Windows\System32\CompPkgSrv.exe
                            C:\Windows\System32\CompPkgSrv.exe -Embedding
                            1⤵
                              PID:1208
                            • C:\Windows\System32\CompPkgSrv.exe
                              C:\Windows\System32\CompPkgSrv.exe -Embedding
                              1⤵
                                PID:1880
                              • C:\Windows\System32\rundll32.exe
                                C:\Windows\System32\rundll32.exe C:\Windows\System32\shell32.dll,SHCreateLocalServerRunDll {9aa46009-3ce0-458a-a354-715610a075e6} -Embedding
                                1⤵
                                  PID:5188
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Builder.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Builder.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:5968
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Reinstall.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Reinstall.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:5288
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Update.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Update.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:5464
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Builder.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Builder.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:5356
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Discord Logger\Discord Logger.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Discord Logger\Discord Logger.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:4248
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Discord Logger\Discord Logger.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Discord Logger\Discord Logger.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:5856
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Builder.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Builder.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:3300
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Reinstall.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Reinstall.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:3340
                                • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Update.exe
                                  "C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main\Discord-Token-Logger-v1-main\Discord Token Logger\Update.exe"
                                  1⤵
                                  • Suspicious use of AdjustPrivilegeToken
                                  PID:1004
                                • C:\Windows\system32\LogonUI.exe
                                  "LogonUI.exe" /flags:0x4 /state0:0xa3922055 /state1:0x41c64e6d
                                  1⤵
                                  • Modifies data under HKEY_USERS
                                  • Suspicious use of SetWindowsHookEx
                                  PID:2540
                                • C:\Windows\System32\rundll32.exe
                                  C:\Windows\System32\rundll32.exe shell32.dll,SHCreateLocalServerRunDll {9BA05972-F6A8-11CF-A442-00A0C90A8F39} -Embedding
                                  1⤵
                                    PID:4988

                                  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

                                    537815e7cc5c694912ac0308147852e4

                                    SHA1

                                    2ccdd9d9dc637db5462fe8119c0df261146c363c

                                    SHA256

                                    b4b69d099507d88abdeff4835e06cc6711e1c47464c963d013cef0a278e52d4f

                                    SHA512

                                    63969a69af057235dbdecddc483ef5ce0058673179a3580c5aa12938c9501513cdb72dd703a06fa7d4fc08d074f17528283338c795334398497c771ecbd1350a

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

                                    Filesize

                                    152B

                                    MD5

                                    8b167567021ccb1a9fdf073fa9112ef0

                                    SHA1

                                    3baf293fbfaa7c1e7cdacb5f2975737f4ef69898

                                    SHA256

                                    26764cedf35f118b55f30b3a36e0693f9f38290a5b2b6b8b83a00e990ae18513

                                    SHA512

                                    726098001ef1acf1dd154a658752fa27dea32bca8fbb66395c142cb666102e71632adbad1b7e2f717071cd3e3af3867471932a71707f2ae97b989f4be468ab54

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

                                    Filesize

                                    6KB

                                    MD5

                                    106235072cbeb3e5e4f12ee31bb9aba5

                                    SHA1

                                    601f761bd356a93369de4fea26077f33c15f5c82

                                    SHA256

                                    56a083cf7510c5b4fc89a60a69a3fc067c25646f4c67d19d45129f7096bf86ae

                                    SHA512

                                    c4626eb9ed4172c55a13308561370c62baa3c1eb85d3a29c22d8af93432d620e9a95ddd0ff7dc73ab0e8d58d23cecf380d51e044e6c089f67b3b69a0c46c5d98

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

                                    Filesize

                                    6KB

                                    MD5

                                    b3d658115ecbfa3da2d469a6053aff49

                                    SHA1

                                    77d174c78a22f8e6a3acecf3a76a18307fb57c2b

                                    SHA256

                                    0f03e7a1dc01cdad4d47e7400c55891882f192e78b13512d5463dfa3765d9ee3

                                    SHA512

                                    79b55d136ea8c6d4bdae0022b3dcd6dab7f63f7ba8c7adeb33a590b91da6311ea2b449cde87b2d9ef3782cb165747b5d5cd623bd2fbe35404d816e12ee656a2b

                                  • 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

                                    11KB

                                    MD5

                                    94b703dbf9e96295cbbd728bffebabb5

                                    SHA1

                                    75ffa103c5b26ed2ad5ffabd7ce9b3c18282a800

                                    SHA256

                                    0bea20d1f1e180c03a25259caadc3211f89c82a8ff653fe668997a527ffabd62

                                    SHA512

                                    023d79deb3f17852f92f4f8b29eb1532710ffc51e838eba2fe06a0364a3258ec84c4135cc96b0f2ce952a23629f1c135c22cdacaf03f5f2a7b972376b7c21bef

                                  • C:\Users\Admin\Downloads\Discord-Token-Logger-v1-main.zip

                                    Filesize

                                    114KB

                                    MD5

                                    786eee106743edb0bfd4d6651fa9dcb7

                                    SHA1

                                    c76525a8dc3f650edbed520837277e121ed1a0a1

                                    SHA256

                                    3728250ddd0d48bdf0fae4e412c13e339090476a74c58355c055df09c685d683

                                    SHA512

                                    7f2962595b5cc11a17110694718ad038cabdd60de3b31d4b54c1e32e18e9beb9b8cae0982f12a0c095baf006006691589d9682f47088cc6da2eb8f806e19ba3d

                                  • memory/5968-73-0x000001C00A2C0000-0x000001C00A2D8000-memory.dmp

                                    Filesize

                                    96KB

                                  • memory/5968-74-0x000001C0249A0000-0x000001C024B62000-memory.dmp

                                    Filesize

                                    1.8MB

                                  • memory/5968-75-0x000001C0251A0000-0x000001C0256C8000-memory.dmp

                                    Filesize

                                    5.2MB