Woofing a live usb-only "chrome OS" Puppy

A home for all kinds of Puppy related projects

Moderator: Forum moderators

Post Reply
PointerBones
Posts: 1
Joined: Tue Jan 04, 2022 4:35 pm

Woofing a live usb-only "chrome OS" Puppy

Post by PointerBones »

Greetings.
Apologies in advance for this wall of text.
I’m working on a 100% online enviroment (blame covid) and similar to user Neo_78, it seems that no matter how many firejails and layers of security we place, some bad actor allways finds a way to break into our computers. And because we are in work-from-home, it is allways our personal computers and personal data who suffer the consequences.

This made me think, why even have any “rest of the OS” at all? All my work is done via webapps, so I literally only use the browser. Everything else on the OS is “dead weight” at best, and extra attack surface at worse.

I considered Chromium OS, but it has the ability to be installed, create persistance, and mount disks; wich kinda defeats the point of what I’m trying to achieve. Yes, the odds of malware escaping all the sandboxes and remotely mounting a disk to install crap or steal data are slim, but it’s still there. Again, why allow that possibility at all?

That’s when I learned that Puppy linux has a thing called Woof, wich allows you to build your own customized Puppy-like ISO (pupplets?). And from what I gather, it does this by having you manually select and include/exclude packages, wich in turn define what your custom OS can or can’t do.
Is this correct?
This is my first time attempting to assemble any kind of customized Linux system(ish) thing, so please take my ignorance/inexperience.

So I set out to create a even more striped-down bare bones Puppy, one containing only the browser and a notepad.
Unfortunately, even with the straightforward app that is Woof, this proved more than I could figure out how to do.

I can strip-out all the apps that come bundled with Puppy, but I want to also strip-out unecessary system features; like the ability to mount disks, download files, or share files (ex: no samba).
And this is where I keep failing, as I have no idea how to strip-down the system features. I either end up with a non-bootable mess, or some leftover things that I didn’t mean to keep and allow the OS to still perform “unwanted” things (ex: mount my SSD).

I’m essentially trying to build a browser-on-RAM.
No persistance, no apps, no storage space, no ability to mount disks, no downloading, no file sharing. Nothing.
Literaly just the browser. A mere “window into the internet”, so to speak.

I know I could achieve half of this very easily by simply removing the hard drive, but someone had the great idea to make that as hard as possible by designing laptops that require you to dissasseble pretty much every single part and half the motherboard to perform anything physical on the device.
Boy, how I miss the good old Lenovo "suitcase bricks"; now even cleaning the dust is like performing a stunt.
Point is, unpluging the hard drive is not a option.

So what is the bare minimum packages that are mandatory to build a “browser-only Puppy”? Besides Arch wiki, is there a list I can consult?
All I need is:
- a chromium based browser (ideally Google Chrome itself), with 2-3 extensions. If this is truly impossible, Firefox (or other gecko-based) will still do .
- a notepad app (just to copy paste text faster).
- must have the graphic desktop enviroment (my eyes were younger in the DOS days, now I have trouble keeping up with a terminal based interface without getting lost).
- RAM-only, read-only, no persistance; nor the option to create a persistance.
- cannot download/install new software or packages (basicly no /wget).
- cannot mount storage devices (other than the live usb itself).
- a basic firewall (the router already has one, but still...)
- whatever libraries and stuff necessary to make these function.
Is this even possible? Or practical?

I presume this means I will have to manually re-build this ISO to update the browser, everytime a new version is released; but that’s a inconvenience I’m ok to deal with.
Currently, I’ve been attempting this on the latest Fossapup64.
------------------------------------------------------------------------
PS: I do CAN afford to just go buy a Chromebook for this, and later “revive” it as a Linux netbook once it reaches its EOL.
While I do have some genuine necessity for this to work, half of the reason I’m embarking on this project is for fun and sport. The necessity provides me with a strong motivation>goal>reward to actually dedicate time and work into learning new things and practicing more; something wich I hadn’t felt since my young nerd days back in the 90’s.
So even if I end up getting a Chromebook for a quick/easy and corporate-friendly solution to my mission-critical troubles, I want to learn this anyway.

User avatar
rockedge
Site Admin
Posts: 5720
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 1997 times
Been thanked: 2099 times
Contact:

Re: Woofing a live usb-only "chrome OS" Puppy

Post by rockedge »

Look into BarryK's EasyOS as well. This OS can run the web apps in containers and the rest of the OS can be "Locked down" It is time consuming to strip a Puppy Linux and the results are usually not great enough to be worth it.

The are methods to try. Can you test something out and turn off in the browser you are accessing these web apps with, the JavaScript parsing. THis will probably make your work on these apps not possible but I am looking to see what the attack vector is. Some how I do not feel that a root-kit is the problem on these Puppy Linux type live systems.

williwaw
Posts: 1595
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 145 times
Been thanked: 291 times

Re: Woofing a live usb-only "chrome OS" Puppy

Post by williwaw »

PointerBones wrote: Wed Jan 12, 2022 1:42 pm

I’m embarking on this project is for fun and sport. The necessity provides me with a strong motivation>goal>reward to actually dedicate time and work into learning new things
A mere “window into the internet”, so to speak.

run a distro on a vps and vnc to the vps?

PointerBones wrote: Wed Jan 12, 2022 1:42 pm

Point is, unpluging the hard drive is not a option.

if there is an optical drive on your laptop, you could replace it with a hd caddy and put your hd there. plugging and unplugging the hd would become as simple as using one of those older thinkpads

proebler
Posts: 83
Joined: Sun Aug 23, 2020 6:48 am
Location: AU-TAS
Been thanked: 20 times

Re: Woofing a live usb-only "chrome OS" Puppy

Post by proebler »

@PointerBones
suggest that you look at wizzard's Cloudpup-Fossa64 RC5 in
Board index > Advanced Topics > Puppy Derivatives > Re-masters

also look at how somebody else is using it
Cloud puppy, advise asked...

dancytron
Posts: 653
Joined: Fri Dec 13, 2019 6:26 pm
Has thanked: 422 times
Been thanked: 190 times

Re: Woofing a live usb-only "chrome OS" Puppy

Post by dancytron »

If the goal is to have Puppy and browser totally in Ram and never mount or write to the drives, you really don't need to strip it down. Just start it fresh every time from the usb drive and don't create a save file/folder on exit.

You can configure it and remaster it to save you settings and then start it and never create a new save file/folder without really stripping it down too.

A super secure version of kind of the same idea is TAILS (https://tails.boum.org), but seems like serious overkill ...

Wizards remaster seems like a good "Chrome only", if that's what you are looking for and you can configure it the same way.

User avatar
wizard
Posts: 1587
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2127 times
Been thanked: 503 times

Re: Woofing a live usb-only "chrome OS" Puppy

Post by wizard »

Cloudpup-Fossa64 does most of what you describe. You could just use it without a save file, and don't save when you shut down. When used this way Chromium is reset on every boot, nothing is saved, no cache, no bookmarks, no extensions. You could set grubs default to always boot without a save file or you could also install it to a usb using one of the methods that creates an iso 9660 file system which makes the usb read only.

viewtopic.php?t=4816

wizard

Big pile of OLD computers

Clarity
Posts: 3273
Joined: Fri Jul 24, 2020 10:59 pm
Has thanked: 1349 times
Been thanked: 438 times

Re: Woofing a live usb-only "chrome OS" Puppy

Post by Clarity »

Hi @PointerBones :welcome:

Modern PUPs are built from WoofCE. To answer your request, I suggest you do the following to build your own personal PUP.

  1. See the ReadME here

  2. Join the GIT for Puppy Linux WoofCE from that page.

Expect that after joining, you can ask for help there to the developers, as well as here on the forum.

Enjoy.

Post Reply

Return to “Puppy Projects”