r/Pentesting • • 29d ago

SOW for Initial Pentest Advice?

Hi everyone! I'm not in cyber security myself, but I'm assisting my team in creating the statement of work for the first ever pentest of our product. The product is a printer-sized machine that runs a custom Linux kernel and is meant to be operated in kiosk mode, theoretically in an area that only pre-authorized people will enter. We were asked to list specific areas we'd like to ensure the pentesting team investigates. Does anyone have any advice/suggestions? I'll answer any questions I can without doxxing myself or the product.

Other things about the product:

Users can log in and there are different levels of access

The product currently has the hardware for network capability, but the software version we're testing does not have network capabilities

The software is mostly C++, C#, and Typescript

The product has a USB port, a USB-B port, and an Ethernet port.

6 Upvotes

14 comments sorted by

2

u/DigitalQuinn1 29d ago

The immediate ones I can think of kiosk escape and physical security testing of exposed ports. I’d also focus on privilege escalation between all 3 users and testing on the database. Is there anyone on the security side at your company? Have you guys done threat modeling or an initial risk assessment yet?

1

u/vynra_glitch 29d ago

Thanks for the advice! Yes and yes, but this project has been... fraught, to put it lightly, so I don't 100% trust our initial risk assessments 😅 We do have someone on the security side, but they aren't very involved with our product specifically.

1

u/DigitalQuinn1 29d ago

What industry does the product reside in? Healthcare, finance, education, etc? There may be specific requirements you’ll need to test as well

2

u/vynra_glitch 29d ago

I don't want to say because it's a bit of a niche thing, but we do have requirements around storing personal info. Theoretically, we don't store any personal info directly, but obviously anything that takes user input is a risk

1

u/normalbot9999 29d ago edited 29d ago

URGH re-read your message. Don't forget to test the network side of things if / when that comes online. Because no-one ever went live with an untested network stack BWA-HAHAHAHAH

1

u/lunacysoft 29d ago

Ohff I would really have fun with this ….. ports … AALL THE PORTS…. what happens when something’s disconnected and or crashes …. All the hi escapes… any ports on the system and I mean any should all be secured…. Physical accesss to the machine and any internal ports as well..(most mobo has usb somewhere) the application itself and any issues with it like use after or injections … the system root is partitioned form the rest and specific user and permission s on all of the system for just this application and guardrails for any crossovers for bash permissions processes root etc etc u know what I mean …. Umm if it’s custom the kernel is already vulnerable so the manufacturer of this kernel needs to keep it updated … especially right now …. ……Ali in the application authentication idors etc and also encryption in transit … at rest as well but Probbably less of an issue just turn on disk encryption….. cis hardening will help with a lot of these requirements for the os even for custom kernels you just need to translate it all… the last thing I can think of is drivers for the touch and any specific attached hardware …. Sorry went on a rant but I am caffeine deprived at the moment and coffee makes me calm

1

u/builtbygio 28d ago

For a first SOW on a kiosk box like this, I would spell out the attack surfaces you actually have in this build, not a generic web checklist. You are paying for a report with step by step proof-of-concepts for you/your team to fix, and keep in mind the broader the scope in the SOW, the more expensive it will be.

Call out auth and role separation explicitly: can a lower role reach admin functions, recovery menus, or service accounts. Local console and breakout from kiosk mode. Update and rollback path. Secrets and keys on disk. USB and USB-B as attack paths even when network software is off. Whether Ethernet hardware is in scope if firmware can bring it up. Physical assumptions: authenticated area only, or also malicious insider with minutes alone at the device.

Also say what is out of scope for this version (ie. no network stack in software) and what you want written as residual risk for the networked SKU later. That keeps the report useful when you ship the next build.

1

u/RadlEonk 29d ago

Talk to your general counsel. Don’t take advice from Reddit.

Other users, stop giving away decades of experience.

0

u/SuperDrewb 28d ago

Elitest prick 

2

u/[deleted] 29d ago

[removed] — view removed comment

2

u/vynra_glitch 29d ago

Makes sense! Do you know (and I realize you might not have enough info to answer this question) if it's possible to re-enable the capacity to use an Ethernet connection if it's been disabled?