Analysis

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

    arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system
  • submitted
    10/04/2024, 20:11

General

  • Target

    dbgtest.exe

  • Size

    2.0MB

  • MD5

    5d25e60bed5aba0e6efa612900aa0e93

  • SHA1

    bd0f1e14266e557ceb700b2edc14c20fea0d6148

  • SHA256

    e1ec71b442828928a51c9999db39fb3e3a299bc0abe1a3efc08337ef6f70b491

  • SHA512

    963d402b04088578b9ce3870579f85168282b44062d60d08f2382dba6aa9b5811d542925e837827b7ae9417144e09b04f4ea03ad849b65082f91377291da9a09

  • SSDEEP

    24576:2B6j6meQdxUdZjtm7Wi3TUxk+6c3gD0uvUz4n+qsZUnKxRWxRAUGCw1n7JvXDeZe:v7WhZ6W7TcntsvivNE

Score
10/10

Malware Config

Extracted

Family

xworm

C2

45.84.199.152:7000

Attributes
  • Install_directory

    %Public%

  • install_file

    Msedge.exe

Signatures

  • Detect Xworm Payload 2 IoCs
  • Xworm

    Xworm is a remote access trojan written in C#.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • Drops startup file 2 IoCs
  • Executes dropped EXE 3 IoCs
  • Looks up external IP address via web service 1 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in Windows directory 1 IoCs
  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Checks SCSI registry key(s) 3 TTPs 3 IoCs

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

  • Creates scheduled task(s) 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 22 IoCs
  • Suspicious use of AdjustPrivilegeToken 13 IoCs
  • Suspicious use of FindShellTrayWindow 29 IoCs
  • Suspicious use of SendNotifyMessage 29 IoCs
  • Suspicious use of SetWindowsHookEx 1 IoCs
  • Suspicious use of WriteProcessMemory 22 IoCs
  • Uses Task Scheduler COM API 1 TTPs

    The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.

Processes

  • C:\Users\Admin\AppData\Local\Temp\dbgtest.exe
    "C:\Users\Admin\AppData\Local\Temp\dbgtest.exe"
    1⤵
    • Drops file in Windows directory
    • Suspicious use of WriteProcessMemory
    PID:3228
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c start C:\Windows\msedge.exe
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2188
      • C:\Windows\msedge.exe
        C:\Windows\msedge.exe
        3⤵
        • Checks computer location settings
        • Drops startup file
        • Executes dropped EXE
        • Suspicious behavior: EnumeratesProcesses
        • Suspicious use of AdjustPrivilegeToken
        • Suspicious use of SetWindowsHookEx
        • Suspicious use of WriteProcessMemory
        PID:1740
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Windows\msedge.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1856
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'msedge.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:4180
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionPath 'C:\Users\Public\Msedge.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1008
        • C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
          "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass Add-MpPreference -ExclusionProcess 'Msedge.exe'
          4⤵
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          PID:1636
        • C:\Windows\System32\schtasks.exe
          "C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Msedge" /tr "C:\Users\Public\Msedge.exe"
          4⤵
          • Creates scheduled task(s)
          PID:4036
    • C:\Windows\system32\cmd.exe
      C:\Windows\system32\cmd.exe /c certutil -hashfile "C:\Users\Admin\AppData\Local\Temp\dbgtest.exe" MD5 | find /i /v "md5" | find /i /v "certutil"
      2⤵
      • Suspicious use of WriteProcessMemory
      PID:2200
      • C:\Windows\system32\certutil.exe
        certutil -hashfile "C:\Users\Admin\AppData\Local\Temp\dbgtest.exe" MD5
        3⤵
          PID:2192
        • C:\Windows\system32\find.exe
          find /i /v "md5"
          3⤵
            PID:2300
          • C:\Windows\system32\find.exe
            find /i /v "certutil"
            3⤵
              PID:3004
        • C:\Windows\system32\taskmgr.exe
          "C:\Windows\system32\taskmgr.exe" /0
          1⤵
          • Checks SCSI registry key(s)
          • Suspicious behavior: EnumeratesProcesses
          • Suspicious use of AdjustPrivilegeToken
          • Suspicious use of FindShellTrayWindow
          • Suspicious use of SendNotifyMessage
          PID:3824
        • C:\Users\Public\Msedge.exe
          C:\Users\Public\Msedge.exe
          1⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          PID:64
        • C:\Users\Public\Msedge.exe
          C:\Users\Public\Msedge.exe
          1⤵
          • Executes dropped EXE
          • Suspicious use of AdjustPrivilegeToken
          PID:3596

        Network

              MITRE ATT&CK Enterprise v15

              Replay Monitor

              Loading Replay Monitor...

              Downloads

              • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\Msedge.exe.log

                Filesize

                654B

                MD5

                2ff39f6c7249774be85fd60a8f9a245e

                SHA1

                684ff36b31aedc1e587c8496c02722c6698c1c4e

                SHA256

                e1b91642d85d98124a6a31f710e137ab7fd90dec30e74a05ab7fcf3b7887dced

                SHA512

                1d7e8b92ef4afd463d62cfa7e8b9d1799db5bf2a263d3cd7840df2e0a1323d24eb595b5f8eb615c6cb15f9e3a7b4fc99f8dd6a3d34479222e966ec708998aed1

              • C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0\UsageLogs\powershell.exe.log

                Filesize

                2KB

                MD5

                d85ba6ff808d9e5444a4b369f5bc2730

                SHA1

                31aa9d96590fff6981b315e0b391b575e4c0804a

                SHA256

                84739c608a73509419748e4e20e6cc4e1846056c3fe1929a8300d5a1a488202f

                SHA512

                8c414eb55b45212af385accc16d9d562adba2123583ce70d22b91161fe878683845512a78f04dedd4ea98ed9b174dbfa98cf696370598ad8e6fbd1e714f1f249

              • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

                Filesize

                944B

                MD5

                2979eabc783eaca50de7be23dd4eafcf

                SHA1

                d709ce5f3a06b7958a67e20870bfd95b83cad2ea

                SHA256

                006cca90e78fbb571532a83082ac6712721a34ea4b21f490058ffb3f521f4903

                SHA512

                92bc433990572d9427d0c93eef9bd1cc23fa00ed60dd0c9c983d87d3421e02ce3f156c6f88fe916ef6782dbf185cbce083bc0094f8c527f302be6a37d1c53aba

              • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

                Filesize

                944B

                MD5

                b51dc9e5ec3c97f72b4ca9488bbb4462

                SHA1

                5c1e8c0b728cd124edcacefb399bbd5e25b21bd3

                SHA256

                976f9534aa2976c85c2455bdde786a3f55d63aefdd40942eba1223c4c93590db

                SHA512

                0e5aa6cf64c535aefb833e5757b68e1094c87424abe2615a7d7d26b1b31eff358d12e36e75ca57fd690a9919b776600bf4c5c0e5a5df55366ba62238bdf3f280

              • C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive

                Filesize

                944B

                MD5

                ba169f4dcbbf147fe78ef0061a95e83b

                SHA1

                92a571a6eef49fff666e0f62a3545bcd1cdcda67

                SHA256

                5ef1421e19fde4bc03cd825dd7d6c0e7863f85fd8f0aa4a4d4f8d555dc7606d1

                SHA512

                8d2e5e552210dcda684682538bc964fdd8a8ff5b24cc2cc8af813729f0202191f98eb42d38d2355df17ae620fe401aad6ceaedaed3b112fdacd32485a3a0c07c

              • C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_kuaz03je.c41.ps1

                Filesize

                60B

                MD5

                d17fe0a3f47be24a6453e9ef58c94641

                SHA1

                6ab83620379fc69f80c0242105ddffd7d98d5d9d

                SHA256

                96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7

                SHA512

                5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82

              • C:\Windows\msedge.exe

                Filesize

                204KB

                MD5

                4738e3496a3efe5f19c57b764eb5ba9b

                SHA1

                da9163944b1f51438b2602cbc95660af43172065

                SHA256

                cb51764f19e66bb6accd7f0418332bac7759073ed245f0633dddd53f68e81933

                SHA512

                4cb3029e136471edf2ebb46d1e4fc3a70e5138a5bd4b3fb182b6746d00c69fd5cf8822c0c90c2bcb4d8276db0cecac16ea0198e18a44e755a340495b19cc2238

              • memory/64-95-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/64-93-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1008-53-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1008-40-0x0000023DE3680000-0x0000023DE3690000-memory.dmp

                Filesize

                64KB

              • memory/1008-41-0x0000023DE3680000-0x0000023DE3690000-memory.dmp

                Filesize

                64KB

              • memory/1008-39-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1636-68-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1636-66-0x0000024AF53F0000-0x0000024AF5400000-memory.dmp

                Filesize

                64KB

              • memory/1636-65-0x0000024AF53F0000-0x0000024AF5400000-memory.dmp

                Filesize

                64KB

              • memory/1636-64-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1740-76-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1740-6-0x000000001ACB0000-0x000000001ACC0000-memory.dmp

                Filesize

                64KB

              • memory/1740-4-0x0000000000040000-0x0000000000078000-memory.dmp

                Filesize

                224KB

              • memory/1740-77-0x000000001ACB0000-0x000000001ACC0000-memory.dmp

                Filesize

                64KB

              • memory/1740-5-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1856-16-0x0000021729430000-0x0000021729452000-memory.dmp

                Filesize

                136KB

              • memory/1856-8-0x0000021741910000-0x0000021741920000-memory.dmp

                Filesize

                64KB

              • memory/1856-9-0x0000021741910000-0x0000021741920000-memory.dmp

                Filesize

                64KB

              • memory/1856-7-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/1856-22-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/3596-100-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/3596-99-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/3824-88-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-78-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-84-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-85-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-87-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-86-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-89-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-80-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-90-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/3824-79-0x000001C7D04E0000-0x000001C7D04E1000-memory.dmp

                Filesize

                4KB

              • memory/4180-38-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/4180-24-0x00007FF853D50000-0x00007FF854811000-memory.dmp

                Filesize

                10.8MB

              • memory/4180-25-0x000001317A8B0000-0x000001317A8C0000-memory.dmp

                Filesize

                64KB

              • memory/4180-26-0x000001317A8B0000-0x000001317A8C0000-memory.dmp

                Filesize

                64KB