Analysis

  • max time kernel
    183s
  • max time network
    212s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    05-10-2023 19:28

General

  • Target

    file.exe

  • Size

    191KB

  • MD5

    170aa66f5331dc87707f0d7a405a45f0

  • SHA1

    5390a4d9e516c05bad7c86b3415c5fd53e0fb9c1

  • SHA256

    539e5470f3745740167fc0db04324c128470e822bddd7dfb7814dd27c60b1a03

  • SHA512

    d9d36a77d974a016bf7742734f5fae1ca85e0c9ed38ab48eb4f1743a27530f75309d38ebf9c83b0a2f6ff41113119f816baf4f0fe2d8ae156cad950ed2a65ef6

  • SSDEEP

    3072:mN/si5hMdfxA468QwBxt3YNL6tROXsEvoOEQ045Z2UvSNH5ju:GsPfxJ6mBx+SRUvvoOEQ04xvSf

Malware Config

Extracted

Family

tofsee

C2

vanaheim.cn

jotunheim.name

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • xmrig

    XMRig is a high performance, open source, cross platform CPU/GPU miner.

  • XMRig Miner payload 5 IoCs
  • Creates new service(s) 1 TTPs
  • Modifies Windows Firewall 1 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Drops file in System32 directory 2 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

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

  • Modifies data under HKEY_USERS 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qrlwuoal\
      2⤵
        PID:2772
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jqxapdwg.exe" C:\Windows\SysWOW64\qrlwuoal\
        2⤵
          PID:2640
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create qrlwuoal binPath= "C:\Windows\SysWOW64\qrlwuoal\jqxapdwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2544
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description qrlwuoal "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2688
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start qrlwuoal
          2⤵
          • Launches sc.exe
          PID:2516
        • C:\Windows\SysWOW64\netsh.exe
          "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
          2⤵
          • Modifies Windows Firewall
          PID:2144
      • C:\Windows\SysWOW64\qrlwuoal\jqxapdwg.exe
        C:\Windows\SysWOW64\qrlwuoal\jqxapdwg.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2504
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:2984
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.200000 -p x -k -a cn/half --cpu-priority 1
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1744

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\jqxapdwg.exe

        Filesize

        14.1MB

        MD5

        c6d28991c5b849ae049671257a5f07aa

        SHA1

        24959fefad27bc1b2a4c4bff2f735cf0974c9187

        SHA256

        72d5029083c747cf18a58c1214c948716975c7a091fa2eccd37d8cb7259416bb

        SHA512

        cf6567fbc5a2c772d518aa07480afb6ebd8fb97f39e092f3d14e8389f6034adef79258861aee9f9d22618e7a6d82e1e9e6d89c838ecb2098a2087f31b87974ef

      • C:\Windows\SysWOW64\qrlwuoal\jqxapdwg.exe

        Filesize

        14.1MB

        MD5

        c6d28991c5b849ae049671257a5f07aa

        SHA1

        24959fefad27bc1b2a4c4bff2f735cf0974c9187

        SHA256

        72d5029083c747cf18a58c1214c948716975c7a091fa2eccd37d8cb7259416bb

        SHA512

        cf6567fbc5a2c772d518aa07480afb6ebd8fb97f39e092f3d14e8389f6034adef79258861aee9f9d22618e7a6d82e1e9e6d89c838ecb2098a2087f31b87974ef

      • memory/1744-67-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1744-79-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1744-68-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1744-76-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1744-78-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/1744-77-0x0000000000250000-0x0000000000341000-memory.dmp

        Filesize

        964KB

      • memory/2504-20-0x0000000000400000-0x00000000005A7000-memory.dmp

        Filesize

        1.7MB

      • memory/2504-14-0x0000000000230000-0x0000000000330000-memory.dmp

        Filesize

        1024KB

      • memory/2504-22-0x0000000000400000-0x00000000005A7000-memory.dmp

        Filesize

        1.7MB

      • memory/2644-8-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2644-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/2644-7-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/2644-5-0x0000000000400000-0x00000000005A7000-memory.dmp

        Filesize

        1.7MB

      • memory/2644-11-0x0000000000400000-0x00000000005A7000-memory.dmp

        Filesize

        1.7MB

      • memory/2644-3-0x0000000000400000-0x00000000005A7000-memory.dmp

        Filesize

        1.7MB

      • memory/2644-2-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2984-40-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-49-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-31-0x00000000018E0000-0x0000000001AEF000-memory.dmp

        Filesize

        2.1MB

      • memory/2984-35-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-38-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-39-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-28-0x00000000018E0000-0x0000000001AEF000-memory.dmp

        Filesize

        2.1MB

      • memory/2984-41-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-42-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-43-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-44-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-45-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-46-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-47-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-48-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-32-0x00000000000E0000-0x00000000000E6000-memory.dmp

        Filesize

        24KB

      • memory/2984-50-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-51-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-52-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-53-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-54-0x00000000000F0000-0x0000000000100000-memory.dmp

        Filesize

        64KB

      • memory/2984-55-0x00000000004E0000-0x00000000004E5000-memory.dmp

        Filesize

        20KB

      • memory/2984-58-0x00000000004E0000-0x00000000004E5000-memory.dmp

        Filesize

        20KB

      • memory/2984-59-0x00000000058A0000-0x0000000005CAB000-memory.dmp

        Filesize

        4.0MB

      • memory/2984-62-0x00000000058A0000-0x0000000005CAB000-memory.dmp

        Filesize

        4.0MB

      • memory/2984-63-0x00000000004F0000-0x00000000004F7000-memory.dmp

        Filesize

        28KB

      • memory/2984-27-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2984-25-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2984-24-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2984-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2984-16-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2984-18-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB