How to Smuggle Data with Ping Part 2 - Windows Version

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 26

  • @RedesCiber
    @RedesCiber 7 หลายเดือนก่อน +1

    Brilliant idea! Thanks for sharing! :)

  • @vwbug1975
    @vwbug1975 8 หลายเดือนก่อน +6

    I remember many years ago reading about smuggling data inside DNS packets. Software must be run on the host computer, and the receiving DNS server must be running the extractor, but once the host to server connection is made, the Internet can be used with no obvious signs of data transfer other than DNS

    • @plaintextpackets
      @plaintextpackets  8 หลายเดือนก่อน +1

      See my video on DNS exfiltration for the same concept. The nice thing is you can use built in dns clients in each os to send the queries along with simple script, and the remote end does not have to be a DNS server just have a packet capture tool running

  • @UnfiItered
    @UnfiItered 8 หลายเดือนก่อน +2

    This is a totally different route that I didn't think about when I commented on the last video. Pretty cool poc, luckily we have policy setup so that powershell requires elevated access to run and or has to be ran by a trusted process that already has elevated privilege. Would be cool to see if this could be done completely using vbs, js and or batch scripting.
    Quick note: -ExecutionPolicy Bypass does not allow our end users to bypass our policy to run PS1. It still ask end users for elevated access. You can restrict end users access to powershell through group policy, wdac and or applocker.

    • @plaintextpackets
      @plaintextpackets  8 หลายเดือนก่อน +2

      Yeah this still does require PS but I’ve seen large enterprises who overlook it and allow users to create and run them

    • @sido6587
      @sido6587 8 หลายเดือนก่อน +1

      there is a way to do this using the Windows ICMP API which does not require any admin privileges, i assume that's because it was created so that higher-level applications don't need admin privileges to run if they need to send ICMP packets.

    • @UnfiItered
      @UnfiItered 8 หลายเดือนก่อน

      @@sido6587 I'm all ears, would be interesting to see. Didn't know this but the corp I work for already deny outbound ping. Can only ping internal servers and DNS

    • @plaintextpackets
      @plaintextpackets  8 หลายเดือนก่อน

      Do they allow outbound DNS?

  • @sido6587
    @sido6587 8 หลายเดือนก่อน +3

    i'm currently theorising a way to do this without using powershell and without requiring any admin privileges. if anyone is interested, i can drop a link to the repo as soon as i have a good proof of concept ready

    • @plaintextpackets
      @plaintextpackets  8 หลายเดือนก่อน

      Would love to see it, you should join the discord and share

    • @sido6587
      @sido6587 7 หลายเดือนก่อน

      @@plaintextpackets could i get a link to that discord? Edit: found it, my bad

  • @TheLazyJAK
    @TheLazyJAK 8 หลายเดือนก่อน +4

    Could you use this slower variable length method on Linux to avoid the sudo requirement for changing the data content?

    • @plaintextpackets
      @plaintextpackets  8 หลายเดือนก่อน +1

      Absolutely it would also likely be easier to script in bash

  • @мурф
    @мурф 7 หลายเดือนก่อน +2

    I feel like a wizard after getting this working. Look out World I'm deadly and dangerous (to myself only )

    • @plaintextpackets
      @plaintextpackets  7 หลายเดือนก่อน +1

      Nice! Glad it works for you!

  • @johngonzales6544
    @johngonzales6544 8 หลายเดือนก่อน +1

    Very cool.

  • @adotinthecosmos
    @adotinthecosmos 8 หลายเดือนก่อน +1

    Awesome stuff! Good work

  • @linearburn8838
    @linearburn8838 8 หลายเดือนก่อน +1

    I would do a binary xfer where 1 desgnates 0 and the following packet would be the amount of 0 in line then 111 followed by number of 1 in a row or something simular this would alow a bunch more data in a faster rate basically the same as what you are doing but ina binary format

    • @plaintextpackets
      @plaintextpackets  8 หลายเดือนก่อน

      I was thinking about that, you’re right you could probably use a more advanced encoding scheme to increase the effective bitrate

  • @Muziek37414
    @Muziek37414 7 หลายเดือนก่อน +1

    How would you ping something and reach a pc inside another network? Would you not just ping the router an be dropped? Windows drops icmp calls if I'm right.

    • @Muziek37414
      @Muziek37414 7 หลายเดือนก่อน +1

      Or would you need to host something with a public ip in order to be able to receive the data

    • @plaintextpackets
      @plaintextpackets  7 หลายเดือนก่อน +1

      You’d either need to setup a NAT translation from your outside firewall to an inside PC (also known as port forwarding), or capture from the firewall itself like I do using tcpdump here.

  • @disdroid
    @disdroid 8 หลายเดือนก่อน +2

    DNS can be used for tunneling

  • @Eric_McBrearty
    @Eric_McBrearty 8 หลายเดือนก่อน +1

    My Thumbs up didn't register...?