Be careful.
Be careful.
You’re probably sarcastic but
paste this random line in the terminal and run it
sneaky
Hmm
@chx @Kusimulkku @rhombus
Yeah, you wanted to say there are a ton of people that are using a highly potent tool, without even understanding the basic handling of it.
Put differently, would you take your kid on a duo-flight on an armed jet, and let them take control and press random buttons?
Oops, that was half of your hometown.
Seriously, most PCs are not "armed", but still, you can do harm if you do not know what you are doing, in general.
@chx @Kusimulkku @rhombus
BTW, we solved the mystery why my daughter uses regularly exceeding 100GB on her mobile.
Actually I wanted to show her how she can scan something on our scanner in the home office herself.
So I let her install the Mopria scan app.
Hmmm, no scanner there. I told her you have to turn on Wi-Fi. Funny, the neighbour's scanner showed up in WIFI-Direct. That was the moment I got my hands on her mobile (a seldom granted privilege). She literally hadn't added our WLAN. 🤷
Not everyone knows everything. Actually, nobody does.
Computers simply became an easily available necessity, thus you get a lot of computer-illiterate people using computers.
Fairer to call at least 80% of people morons because they don’t know one specific computer feature that is mainly used just by IT people?
Seems like the only moron here is you.
Of course it’s fairer. Before it meant that they’re all around idiots. Now it just says they’re idiots when it comes to computers.
Seems like the only moron here is you.
Not when it comes to computers but in some other things for sure
not when there was a user intent like clicking a button.
For example in this screenshot, it’s likely that there’s only the “verify I’m human” button first, you click it, the steps pop up, and at the same time the command ist copied into your clipboard
The browser can’t access your clipboard contents without permission, but it can place text into the clipboard.
The problem is people the talking the copied text and pasting it into the command prompt.
Yeah that’s what I’m curious about; I’m used to copying code snippets or codes from websites by clicking a button (presumably through some browser API?), but am just now realizing that this in itself has security implications.
Using noscript or some such JS blocker would prevent this but break a lot of other things in the process. That’s why I’m wondering why the API isn’t locked down via some user prompt.
In Firefox, you can disable the clipboard events. I’ve done this for the rare case of me copy+pasting a password and forgetting to clear the clipboard after.
On Android, I’ve noticed that it’s possible for apps to read from the clipboard, to read OTP tokens for example. Since I noticed that a while back, I’ve always been wary of the clipboard on any device I’ve used.
but it can place text into the clipboard.
Only as the result of a user interaction, for example by pressing a button.
From the Browser’s viewpoint, would there be any difference if the webpage has a JS button to put something in the clipboard, or it having code running in the background that puts things into the clipboard at page load?
It’s not like there’s that much of a difference, as far as the Browser is concerned.
would there be any difference if the webpage has a JS button to put something in the clipboard, or it having code running in the background that puts things into the clipboard at page load?
Clicking a button shows user intent, whereas a page load doesn’t. No user expects loading a page to overwrite their clipboard, but every user that clicks a “Copy to Clipboard” button does expect it.
There is no inherent security problem with changing the content of the clipboard. That doesn’t do anything until the user pastes it somewhere; of course if that “somewhere” is a command prompt, then that is a security problem, but users really ought to check what they’re pasting there before they execute it (yeah, I know, “ought to”).
It would be possible to do it the way you do, but that would mean that the user would need to allow that for many websites; I don’t think copying from apps like Google Docs would work anymore, and “here’s your access token, click here to copy it to the clipboard” features certainly wouldn’t.
It seemed odd to me that a Web site could write to or read from the clipboard without the user approving it
Yeah, that’s a security hole rhat I hadn’t been aware of.
Wouldn’t it require elevation?
Yet another example of why running as root/admin is a Bad Idea©
90% of users when presented with the UAC popup appears when they do something:
“Yes yes whateverrr” <click>
It would be trivial to add a “please click ‘yes’ to the UAC prompt to allow verification” screen, so that isn’t really going to stop anyone.
I’ve seen a bit of office malware in the past that did that, where it had a bunch of images instructing you to enable macros and that.
No, why would it? It will run code in the context of the current user which is absolutely enough to start a new process that will run in the background, download more code from a attacker server and allow remote access. The attacker will only have as much permissions as the user executing the code but that is enough to steal their files, run a keyloggers, steal their sessions for other websites etc.
They can try to escalate to the admin user, but when targeting private victims, all the data that is worth stealing is available to the user and does not require admin privs.
@101 That’s diabolically simple.
(It’s arguable that on a consumer OS one should have to enter a user password before dropping into the command line, at least as the default behavior.)
General rule of thumb for me to interact with a website and read or watch whatever I want … if you require me to do more than two things to show me the content I came to see, I’m closing the tab or windows and moving on.
If it’s really important and security related, I’ll take my time and carefully examine everything I do.
Otherwise I’m not clicking more than twice and definitely not using my keyboard to see your dumb website or TikTok video.
This isn’t targeting you.
These scumbags are going after the elderly and computer illiterate.
Yup, I used to do that as a hobby, but now that I have kids, I just don’t have the time. There’s no way I could do it full-time, so I have a regular 9-5 that pays reasonably well for a cause I don’t hate. For me, that’s enough.
I hope I can make enough at my day job to go back to working on FOSS projects before I lose my ability to write competent software.