Analysis

  • max time kernel
    45s
  • max time network
    56s
  • platform
    windows11-21h2_x64
  • resource
    win11-20240419-en
  • resource tags

    arch:x64arch:x86image:win11-20240419-enlocale:en-usos:windows11-21h2-x64system
  • submitted
    28-05-2024 12:28

General

  • Target

    https://github.com/JuniperGamer/MSMHACK/blob/main/MSMHACK.exe

Malware Config

Extracted

Family

discordrat

Attributes
  • discord_token

    MTA0MTM2NDYxODkwOTU4MTM0Mg.GUBMGe.afs1qcAAbBu1TGwBwTCneSAJ-IL8aPfjSTjsW0

  • server_id

    1041364722794123365

Signatures

  • Discord RAT

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

  • Downloads MZ/PE file
  • Executes dropped EXE 1 IoCs
  • Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
  • Enumerates system info in registry 2 TTPs 3 IoCs
  • NTFS ADS 2 IoCs
  • Suspicious behavior: EnumeratesProcesses 10 IoCs
  • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of FindShellTrayWindow 35 IoCs
  • Suspicious use of SendNotifyMessage 12 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/JuniperGamer/MSMHACK/blob/main/MSMHACK.exe
    1⤵
    • Enumerates system info in registry
    • NTFS ADS
    • Suspicious behavior: EnumeratesProcesses
    • Suspicious behavior: NtCreateUserProcessBlockNonMicrosoftBinary
    • Suspicious use of FindShellTrayWindow
    • Suspicious use of SendNotifyMessage
    • Suspicious use of WriteProcessMemory
    PID:1772
    • 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=90.0.4430.212 "--annotation=exe=C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --annotation=plat=Win64 "--annotation=prod=Microsoft Edge" --annotation=ver=90.0.818.66 --initial-client-data=0x100,0x104,0x108,0xdc,0x10c,0x7ff8481c3cb8,0x7ff8481c3cc8,0x7ff8481c3cd8
      2⤵
        PID:360
      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=gpu-process --field-trial-handle=1892,3468040794515703258,10697967412639773577,131072 --gpu-preferences=SAAAAAAAAADgAAAwAAAAAAAAAAAAAAAAAABgAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB4AAAAAAAAAHgAAAAAAAAAKAAAAAQAAAAgAAAAAAAAACgAAAAAAAAAMAAAAAAAAAA4AAAAAAAAABAAAAAAAAAAAAAAAAUAAAAQAAAAAAAAAAAAAAAGAAAAEAAAAAAAAAABAAAABQAAABAAAAAAAAAAAQAAAAYAAAAIAAAAAAAAAAgAAAAAAAAA --mojo-platform-channel-handle=1904 /prefetch:2
        2⤵
          PID:1152
        • 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=1892,3468040794515703258,10697967412639773577,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=2396 /prefetch:3
          2⤵
          • Suspicious behavior: EnumeratesProcesses
          PID:436
        • 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=1892,3468040794515703258,10697967412639773577,131072 --lang=en-US --service-sandbox-type=utility --mojo-platform-channel-handle=2732 /prefetch:8
          2⤵
            PID:3256
          • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
            "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=3228 /prefetch:1
            2⤵
              PID:244
            • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
              "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=3232 /prefetch:1
              2⤵
                PID:4924
              • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=8 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5368 /prefetch:1
                2⤵
                  PID:1292
                • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                  "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=chrome.mojom.UtilReadIcon --field-trial-handle=1892,3468040794515703258,10697967412639773577,131072 --lang=en-US --service-sandbox-type=icon_reader --mojo-platform-channel-handle=5808 /prefetch:8
                  2⤵
                    PID:4128
                  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=chrome.mojom.UtilWin --field-trial-handle=1892,3468040794515703258,10697967412639773577,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=4788 /prefetch:8
                    2⤵
                    • Suspicious behavior: EnumeratesProcesses
                    PID:648
                  • C:\Program Files (x86)\Microsoft\Edge\Application\90.0.818.66\identity_helper.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\90.0.818.66\identity_helper.exe" --type=utility --utility-sub-type=winrt_app_id.mojom.WinrtAppIdService --field-trial-handle=1892,3468040794515703258,10697967412639773577,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=6016 /prefetch:8
                    2⤵
                    • Suspicious behavior: EnumeratesProcesses
                    PID:5076
                  • 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=1892,3468040794515703258,10697967412639773577,131072 --lang=en-US --service-sandbox-type=none --mojo-platform-channel-handle=4420 /prefetch:8
                    2⤵
                    • NTFS ADS
                    • Suspicious behavior: EnumeratesProcesses
                    PID:4920
                  • C:\Users\Admin\Downloads\MSMHACK.exe
                    "C:\Users\Admin\Downloads\MSMHACK.exe"
                    2⤵
                    • Executes dropped EXE
                    • Suspicious use of AdjustPrivilegeToken
                    PID:3856
                  • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                    "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=13 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5552 /prefetch:1
                    2⤵
                      PID:5040
                    • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                      "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=14 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=4856 /prefetch:1
                      2⤵
                        PID:2956
                      • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                        "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=15 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5468 /prefetch:1
                        2⤵
                          PID:4556
                        • C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
                          "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=renderer --field-trial-handle=1892,3468040794515703258,10697967412639773577,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=16 --no-v8-untrusted-code-mitigations --mojo-platform-channel-handle=5432 /prefetch:1
                          2⤵
                            PID:4968
                        • C:\Windows\System32\CompPkgSrv.exe
                          C:\Windows\System32\CompPkgSrv.exe -Embedding
                          1⤵
                            PID:4164
                          • C:\Windows\System32\CompPkgSrv.exe
                            C:\Windows\System32\CompPkgSrv.exe -Embedding
                            1⤵
                              PID:1964

                            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

                              ade01a8cdbbf61f66497f88012a684d1

                              SHA1

                              9ff2e8985d9a101a77c85b37c4ac9d4df2525a1f

                              SHA256

                              f49e20af78caf0d737f6dbcfc5cc32701a35eb092b3f0ab24cf339604cb049b5

                              SHA512

                              fa024bd58e63402b06503679a396b8b4b1bc67dc041d473785957f56f7d972317ec8560827c8008989d2754b90e23fc984a85ed7496f05cb4edc2d8000ae622b

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

                              Filesize

                              152B

                              MD5

                              d0f84c55517d34a91f12cccf1d3af583

                              SHA1

                              52bd01e6ab1037d31106f8bf6e2552617c201cea

                              SHA256

                              9a24c67c3ec89f5cf8810eba1fdefc7775044c71ed78a8eb51c8d2225ad1bc4c

                              SHA512

                              94764fe7f6d8c182beec398fa8c3a1948d706ab63121b8c9f933eef50172c506a1fd015172b7b6bac898ecbfd33e00a4a0758b1c8f2f4534794c39f076cd6171

                            • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\Code Cache\js\index-dir\the-real-index

                              Filesize

                              1KB

                              MD5

                              070c2ca0701ca0252c848e7de822e8d2

                              SHA1

                              cf8769d592e3b6cbc3a4deea3f8fbefef1f548d3

                              SHA256

                              d9f16c9e24b109eea83ddf70b5b08cdf87a4797459d383b15149d26fad528fc6

                              SHA512

                              4ae831552c35e31fbf03b807bb4f9d1ac8bd60eb529de4548e4511a0205a4e02bf67701c694ba43aff95e52a7b80efe10dda91df34fcf56359cbb57b214274e4

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

                              Filesize

                              5KB

                              MD5

                              77799269e96bd4c569745eb19cc6d094

                              SHA1

                              400802695ed7d623d368d29eabc1054e048d28ae

                              SHA256

                              391ce6ec3ad285b1766fc8ba0917f4904dc6f1f1466b83ee83574b8672c896d2

                              SHA512

                              d64e47cb866cb0aa7e8f14fb9d057d53580149312b81c2c47391b4d662686acaa8436bc4ecd2078693c7c32590d100871a17327df80628ed3e4602dfa708868c

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

                              Filesize

                              6KB

                              MD5

                              8f1aeb513ea2f0456becf4beae2f6afa

                              SHA1

                              b81a7610fca7a579ce4428120356f7a5401cdd9a

                              SHA256

                              e657055a9a336a7e9bff262ad6117850b00799bc1d1439722013557ba4664eb5

                              SHA512

                              f5ff6c655a20efbffb51310b7e1e1ed0a631542a8f737cfd8132ff0f3d35e52d81806da9f5d0a25dc6b898d3d5746df6a52a3de69b699ab823b8178b39ccbdd7

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

                              Filesize

                              6KB

                              MD5

                              b9f7ecb9ebd2ac2fce1c1fa49717518c

                              SHA1

                              8ea2b173778814a07ca9ab6fac4f667389f73c4a

                              SHA256

                              7888131473bcb7df623caba4d3ed6de8832142f4e61e267541238f848ad99531

                              SHA512

                              d855c0545effb1234efc45cb5cc6f42568b71de0d7058af5bf98541b30602fb51e93c735522920ebdcb72eae86c4bacbb771592927607fa29d3909d6b489c9c1

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

                              Filesize

                              1KB

                              MD5

                              31e0c4486999a2f843f9737c9673b5fb

                              SHA1

                              cec3b2f24f15cb685c13020626c4f481dc156242

                              SHA256

                              12356b801879adeb3c3ca9991b4e0b7f8feb806bc3a9aa0091b68493c2091263

                              SHA512

                              7b4d07d743f633c5148ddbd93a47c88a44bf9032dac8f323698b221ac0858b166effd9484a095efd82e4256a5bbe878cfbf8283e1549bd4536b87d321b3022b8

                            • C:\Users\Admin\AppData\Local\Microsoft\Edge\User Data\Default\TransportSecurity~RFe57dd6f.TMP

                              Filesize

                              1KB

                              MD5

                              b93f19dc311578b2a8cfd5248fece174

                              SHA1

                              e29d27ab78ae6f7f4b8aa68f3df99981703db63c

                              SHA256

                              4e8b7ac41db0d6895bfd277968fe8622ab2be6fb25c3c8b05b776218f35ecc85

                              SHA512

                              906927dadccd26ce43090e1543a5d407dcfd3961643ebd1fdba67d477cada403707af7af49efe035727c8c06cf9190de0d5a434ae8f04d88a48d1bb29975a55c

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

                              Filesize

                              16B

                              MD5

                              206702161f94c5cd39fadd03f4014d98

                              SHA1

                              bd8bfc144fb5326d21bd1531523d9fb50e1b600a

                              SHA256

                              1005a525006f148c86efcbfb36c6eac091b311532448010f70f7de9a68007167

                              SHA512

                              0af09f26941b11991c750d1a2b525c39a8970900e98cba96fd1b55dbf93fee79e18b8aab258f48b4f7bda40d059629bc7770d84371235cdb1352a4f17f80e145

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

                              Filesize

                              16B

                              MD5

                              46295cac801e5d4857d09837238a6394

                              SHA1

                              44e0fa1b517dbf802b18faf0785eeea6ac51594b

                              SHA256

                              0f1bad70c7bd1e0a69562853ec529355462fcd0423263a3d39d6d0d70b780443

                              SHA512

                              8969402593f927350e2ceb4b5bc2a277f3754697c1961e3d6237da322257fbab42909e1a742e22223447f3a4805f8d8ef525432a7c3515a549e984d3eff72b23

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

                              Filesize

                              11KB

                              MD5

                              4a6da73423536bd7a49b4b0791b3215d

                              SHA1

                              fa3027b1418a1b1f26094d7e8d21e396578217f6

                              SHA256

                              73e78285951372862559862c66d511073dec7266537f53af35207859063e8842

                              SHA512

                              78173272cd2ea570c22738ad8dbd670c5732a94bd9747d76a9b92b845c2f32d9151b7288fa18863d155be41443d0ba0dc70b5e2eb0d03e9781c8437a9b5f6b06

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

                              Filesize

                              11KB

                              MD5

                              2af7296ad604f921ef06250e656282ba

                              SHA1

                              55c880c4c594db2dbb0136672fd343c0765d3837

                              SHA256

                              40133317e701514be22854b2810c35f751fa9364024029ce36261fecd2c1c699

                              SHA512

                              3b7e9ffd708975394ee4b1928d3486f57b34106f02f05c9dd21c5eb779464b3891668063d0a1ea41688c45056d26f47cf4f809a9f993f5c926ba29f6177623a1

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

                              Filesize

                              10KB

                              MD5

                              78e33cfb784e007ac7f27eb8491c8b64

                              SHA1

                              e867b49b77297856dbdd2233bb1fa8700152c096

                              SHA256

                              18de5b3f06a92975220e1b8891d1212cabfc2af576ad7621d79b82d9abf6dc97

                              SHA512

                              38671f575a386fc992f3aba0dc507b47b5c88a6a8b5cbf220c5269fbea1f87add114dfee15fe257a1e57274e4c632c86aeeaf5be09317f92da48328fd0f47b54

                            • C:\Users\Admin\Downloads\MSMHACK.exe:Zone.Identifier

                              Filesize

                              55B

                              MD5

                              0f98a5550abe0fb880568b1480c96a1c

                              SHA1

                              d2ce9f7057b201d31f79f3aee2225d89f36be07d

                              SHA256

                              2dfb5f4b33e4cf8237b732c02b1f2b1192ffe4b83114bcf821f489bbf48c6aa1

                              SHA512

                              dbc1150d831950684ab37407defac0177b7583da0fe13ee8f8eeb65e8b05d23b357722246888189b4681b97507a4262ece96a1c458c4427a9a41d8ea8d11a2f6

                            • C:\Users\Admin\Downloads\Unconfirmed 252996.crdownload

                              Filesize

                              78KB

                              MD5

                              161219ec533e91b1464e59f149ace73d

                              SHA1

                              afd221c61974c37c24cec1f192b883db39be1cdc

                              SHA256

                              3c609ccb8e4aee9c5b631296d2752edd5d654ce6d18b6ae949106ca3c93030ca

                              SHA512

                              9a66fb0fbe1fa79e9267027bb155844c2089597b19392a74f572739ddb1b98691ab3cd913892c20f6a3d25134c288486d416fd6712f4e11756c440c21ac77e3f

                            • memory/3856-194-0x0000023F7F430000-0x0000023F7F958000-memory.dmp

                              Filesize

                              5.2MB

                            • memory/3856-184-0x0000023F7EC30000-0x0000023F7EDF2000-memory.dmp

                              Filesize

                              1.8MB

                            • memory/3856-183-0x0000023F7C4D0000-0x0000023F7C4E8000-memory.dmp

                              Filesize

                              96KB