Analysis

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

    arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system
  • submitted
    16-04-2023 21:59

General

  • Target

    file.exe

  • Size

    351KB

  • MD5

    ef79d6bacf2589c7826c45c2c759ef97

  • SHA1

    8568e58f607d82e955575bca5fe9c5a81e95affa

  • SHA256

    544dea0e331e8457342d189dd590f1b87413239d33f428873f9d5787cd28add6

  • SHA512

    afe0c8c9bc9ed00cceb6bbef8fbd5ba1a9433ffed43f9779220641cb654b2c93d9b08e4cbaf8bdfb48a58a74f3233c8d98cb4ad173baaf578e64670fde6564fb

  • SSDEEP

    6144:NHA+7C2MsWeqBLTKhC8jsofrVd8qgy8Iak82:NHl7FMfeqBL18XTVqpy

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:516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\oaslzskg\
      2⤵
        PID:2032
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ecmnplou.exe" C:\Windows\SysWOW64\oaslzskg\
        2⤵
          PID:2636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create oaslzskg binPath= "C:\Windows\SysWOW64\oaslzskg\ecmnplou.exe /d\"C:\Users\Admin\AppData\Local\Temp\file.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2964
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description oaslzskg "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3716
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start oaslzskg
          2⤵
          • Launches sc.exe
          PID:2456
        • 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:2536
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 516 -s 656
          2⤵
          • Program crash
          PID:3444
      • C:\Windows\SysWOW64\oaslzskg\ecmnplou.exe
        C:\Windows\SysWOW64\oaslzskg\ecmnplou.exe /d"C:\Users\Admin\AppData\Local\Temp\file.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:412
        • 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:3600
          • 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:4244
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -u -p 412 -s 532
          2⤵
          • Program crash
          PID:2664
      • C:\Windows\SysWOW64\WerFault.exe
        C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 516 -ip 516
        1⤵
          PID:3936
        • C:\Windows\SysWOW64\WerFault.exe
          C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 412 -ip 412
          1⤵
            PID:736

          Network

          MITRE ATT&CK Enterprise v6

          Replay Monitor

          Loading Replay Monitor...

          Downloads

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

            Filesize

            13.1MB

            MD5

            d3d69793075d732ebaeb1d70dda0d43a

            SHA1

            679020006e215ee5a6ebfd8a12ea685443d883cb

            SHA256

            7afef15a3a1738c2bed98d7d96e08c4e6e6f5be192b794bcc4f6817dc5814489

            SHA512

            a241957163fa930251b48c68470e01def502cbd0a2e220544ecb22edcd664736e11c16048f30f33e7bbd6c067f77bce4e678b68b332a069ad1007458acbea708

          • C:\Windows\SysWOW64\oaslzskg\ecmnplou.exe

            Filesize

            13.1MB

            MD5

            d3d69793075d732ebaeb1d70dda0d43a

            SHA1

            679020006e215ee5a6ebfd8a12ea685443d883cb

            SHA256

            7afef15a3a1738c2bed98d7d96e08c4e6e6f5be192b794bcc4f6817dc5814489

            SHA512

            a241957163fa930251b48c68470e01def502cbd0a2e220544ecb22edcd664736e11c16048f30f33e7bbd6c067f77bce4e678b68b332a069ad1007458acbea708

          • memory/412-144-0x0000000000400000-0x00000000007FD000-memory.dmp

            Filesize

            4.0MB

          • memory/516-134-0x00000000008D0000-0x00000000008E3000-memory.dmp

            Filesize

            76KB

          • memory/516-142-0x0000000000400000-0x00000000007FD000-memory.dmp

            Filesize

            4.0MB

          • memory/516-143-0x00000000008D0000-0x00000000008E3000-memory.dmp

            Filesize

            76KB

          • memory/3600-166-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-170-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-146-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/3600-147-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/3600-149-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/3600-150-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/3600-153-0x0000000002000000-0x000000000220F000-memory.dmp

            Filesize

            2.1MB

          • memory/3600-154-0x00000000007D0000-0x00000000007D6000-memory.dmp

            Filesize

            24KB

          • memory/3600-157-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-160-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-161-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-162-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-163-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-164-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-165-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-167-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-139-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/3600-168-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-169-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-145-0x0000000000400000-0x0000000000415000-memory.dmp

            Filesize

            84KB

          • memory/3600-171-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-172-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-173-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-174-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-175-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-176-0x00000000007E0000-0x00000000007F0000-memory.dmp

            Filesize

            64KB

          • memory/3600-177-0x00000000017E0000-0x00000000017E5000-memory.dmp

            Filesize

            20KB

          • memory/3600-180-0x00000000017E0000-0x00000000017E5000-memory.dmp

            Filesize

            20KB

          • memory/3600-181-0x0000000007000000-0x000000000740B000-memory.dmp

            Filesize

            4.0MB

          • memory/3600-184-0x0000000007000000-0x000000000740B000-memory.dmp

            Filesize

            4.0MB

          • memory/3600-185-0x00000000017F0000-0x00000000017F7000-memory.dmp

            Filesize

            28KB

          • memory/4244-189-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-194-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-195-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-197-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-198-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-200-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-199-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB

          • memory/4244-196-0x0000000000400000-0x00000000004F1000-memory.dmp

            Filesize

            964KB