HackTheBox - Napper

Sdílet
Vložit
  • čas přidán 30. 05. 2024
  • 00:00 - Introduction
    00:55 - Start of nmap, showing -vv will cause the output to contain TTL
    04:40 - Checking out the website
    05:23 - Doing a VHOST Bruteforce to discover the internal domain and discovering credentials on a blog post
    07:30 - Checking out the NAPListener blog post, which gives us a way to enumerate for the NAPLISTENER Implant
    10:30 - Showing the Backdoor code to discover how it works
    12:30 - Building a DotNet Reverse Shell and renaming the method to Run, then using Mono (mcs) to compile
    14:45 - Converting the DLL to base64 and getting NAPLISTENER to execute it
    19:20 - Discovering a draft blog post talking about them getting rid of laps and building a custom solution that uses elastic
    24:00 - Setting up a tunnel with Chisel so we can talk to Elastic
    25:55 - Using curl to enumerate Elastic
    30:20 - Reversing the Golang binary with Ghidra
    42:30 - Creating a Golang Binary to grab a document (seed), then using search to grab the blob, and decrypting it with AES-CFB
    47:30 - Connecting to Elastic, using a Proxy
    56:00 - Grabbing the Seed with the Golang Elastic Library
    1:03:00 - Grabbing the Blob with Golang Elastic Library
    1:09:45 - Using the Seed to generate our 16 byte key
    1:13:53 - Creating a decrypt function
    1:16:30 - Getting the PlainText then using RunasCS to get a reverse shell as the Backup User, which is administrator

Komentáře • 20

  • @ClemensGooooo
    @ClemensGooooo Před 26 dny +2

    Amazing that you provide such writeups, it’s pretty helpful to get the mindset for CTFs

  • @boogieman97
    @boogieman97 Před 27 dny +6

    Hey Ippsec, I really adore these types of boxes as a M4lware Analyst / reverse engineer. I thought initially this one was created by 0xdf. Do you know if HTB will ever have a similar kinda platform focussed on solely mal ware analysis / reverse engineering?

  • @xcx557
    @xcx557 Před 27 dny +1

    First one is me , thank you so much ippsec for this information

  • @george___43
    @george___43 Před 27 dny +1

    I was waiting for this video. I was like “Wait….. no video” It's Sunday but then I was like no it's Saturday. I just have to wait :)

  • @Heisenberg696
    @Heisenberg696 Před 26 dny +1

    what you do when you get stuck at some point

  • @AUBCodeII
    @AUBCodeII Před 27 dny

    Ippy faces everywhere, humble Ipps without temptation

  • @darshanakhare6676
    @darshanakhare6676 Před 27 dny +2

    Hey how did you enable Line number in vim?

    • @apeologists
      @apeologists Před 27 dny +2

      You can go into command mode (press Esc) and type in “:set number” or just “:set nu”. To turn it off, do the command “:set nonumber” or “:set nonu”.
      If you want to toggle between the two you can also do “:set number!” or “:set nu!”

    • @darshanakhare6676
      @darshanakhare6676 Před 27 dny

      @@apeologists I have do it every time to turn it on? OR just once

    • @darshanakhare6676
      @darshanakhare6676 Před 27 dny

      I did vimtutor and I need to do it every time

    • @apeologists
      @apeologists Před 27 dny

      @@darshanakhare6676you can edit your .vimrc file to make it persist

    • @AUBCodeII
      @AUBCodeII Před 27 dny

      ​​@@darshanakhare6676you can include the line "set number" to your ~/.vimrc file. Then you'll have numbered lines everytime you start up vim

  • @tg7943
    @tg7943 Před 26 dny

    Push!

  • @sollybrown8217
    @sollybrown8217 Před 27 dny

    unique butt fun.

  • @sollybrown8217
    @sollybrown8217 Před 27 dny

    unique butt fun box

  • @NatteeSetobol
    @NatteeSetobol Před 17 dny

    I want to try to code this in Python because GO isn't working on my laptop but I'm afraid python's random.seed() will produce something different, we will see! It should be the same since the Algorithm is the same right?

    • @ippsec
      @ippsec  Před 17 dny

      Nope the seed will likely be different. Every language performs seed differently

    • @NatteeSetobol
      @NatteeSetobol Před 17 dny

      @@ippsec Aww that sucks =(

  • @sotecluxan4221
    @sotecluxan4221 Před 26 dny