正在加载视频...

视频加载失败

Muahaha, interactive Live Response inside of PowerShell!

31,165 次观看 • 9 个月前 •via X (Twitter)

24 条评论

Justin Elze 的头像
Justin Elze9 个月前

Do you do offense full time now?

Nathan McNulty 的头像
Nathan McNulty9 个月前

🤣

Nathan McNulty 的头像
Nathan McNulty9 个月前

I read a lot of what the AI reasons about in the terminal, and I've learned a ton about techniques I never would have thought about It's crazy how short that trip is from "I just want this to be transparent to the user" to "I just built an OST" 😂

Fabian Bader 的头像
Fabian Bader9 个月前

Very cool. One more conference and then I will have a bit more time to add stuff to XDRInternals as well. 😂

Nathan McNulty 的头像
Nathan McNulty9 个月前

I apologize for the flood of stuff I'm about to push to the branch... I need to figure out the best naming for all this stuff, like the best verbs and heirarchy. I'll publish the few branches, we can discuss whenever :P

Bert-Jan 🛡️ 的头像
Bert-Jan 🛡️9 个月前

👀

Nathan McNulty 的头像
Nathan McNulty9 个月前

👀

Mehmet Ergene 的头像
Mehmet Ergene9 个月前

@BertJanCyber how about sending the same command to multiple sessions at the same time?

Nathan McNulty 的头像
Nathan McNulty9 个月前

@BertJanCyber I should create a separate cmdlet for that, but it would be very doable The more difficult part of the logic will be tracking API limits or handling the quotas when they are inside jobs and not visible to the user, but I think I can work around that

Mehmet Ergene 的头像
Mehmet Ergene9 个月前

@BertJanCyber You mean Claude can work around? 🤪

Nathan McNulty 的头像
Nathan McNulty9 个月前

@BertJanCyber Haha, yeah, it'll do most of the fixing for me :P My current workflow, though could be improved, is to capture via browser using our helper extension, and let AI scaffold the cmdlet. Then I edit and test until I hit issues or big changes, then pass back to AI, then I finish it.

Nathan McNulty 的头像
Nathan McNulty9 个月前

@BertJanCyber I would say 90% is written by AI, but I delete probably 20% of what it writes by refining things or fixing issues it didn't know about There is no way I could develop this in my free time without AI, the time commitment would be too much For tracking:

Mohamed AbuMuslim (أبومُسْلِم) 的头像
Mohamed AbuMuslim (أبومُسْلِم)9 个月前

Red teamer in heart

SecurityJosh 的头像
SecurityJosh9 个月前

This is cool, can you execute arbitrary PS? (Maybe by uploading the command as a .ps1 file to the live response library and then executing the run command against it in the background)

Nathan McNulty 的头像
Nathan McNulty9 个月前

The reason they give us a limited set of command instead of a full shell is to ensure commands are pre-meditated, pre-authorized, and consistent But if we have a second shell (or way to bg the current task), then we can definitely do that I could add a special command in shell

Siddart 的头像
Siddart8 个月前

Nice. How to replicate it? Is there a full guidance? Github repo to understand?

Nathan McNulty 的头像
Nathan McNulty8 个月前

I implemented as part of our XDRInternals PowerShell module, currently waiting for review but should be in soon :)

Siddart 的头像
Siddart8 个月前

Thank you

Michael Stewart 的头像
Michael Stewart9 个月前

This is the kind of quality-of-life improvement that actually changes incident response workflows. The ability to stay in PowerShell without context-switching out to the portal is underrated — especially when you're working at 2am and muscle memory matters most.

Nathan McNulty 的头像
Nathan McNulty9 个月前

Humans can only click on things so fast, and we are further slowed down by the unnecessary content in the browser Beyond a human being able to grab data, grep, pipe, etc., parts of this module opens an opportunity for application and agent development that we never had before :)

Julius 的头像
Julius9 个月前

Very useful! Makes it way easier to jump in and investigate and remediate. Looking forward to learning more about this *wink*wink*nudge*nudge*

Nathan McNulty 的头像
Nathan McNulty9 个月前

I'm working through some of the more complicated stuff like collecting files and proper undo I did add PSReadline so you can tab complete the Live Response commands 🤣

Brett Barton 的头像
Brett Barton9 个月前

Missing a semi interactive terminal was/is one of my biggest complaints of MDE once we switched off the other guys. It massively complicates and slows down IR when you are trying to stop them from lat moving, encrypting and exfiling your data. Love this!

Nathan McNulty 的头像
Nathan McNulty9 个月前

Thanks! It's been fun to play with, ran into a few more bugs tonight, so might not be until tomorrow that I get this pushed out for testing :)

相关视频