JordanLongstaff
Registered:1453612402 Posts: 78
Posted 1635472369
Reply with quote
#1
This may not be the correct channel in which to ask this, but here goes. I want to know what has been done to prevent compromises of privacy and security as they pertain to Artemis SBS. How do I know my personal data isn't in danger of being accessed by a malicious third party? Are the connections encrypted with SSL or TLS or any other standard encryption algorithm? Is my own IP address or MAC address or any identifying information at risk? Can a hacker use it to gain control of my computer or access private files? Is any application data, such as the last connected server, properly encrypted? Is there a privacy policy? How would a new user know that they could trust that Artemis isn't posing any security risks without their knowledge? Does Windows Firewall provide enough protection? First things first, though: is any of this actually a concern or am I worrying about things that aren't an issue? IP addresses are leaked all the time (e.g. when you go on a website or post to a forum) and there are probably plenty of more practical ways to hack and access IP addresses and use them for malicious purposes than trying to hack a connection between an Artemis server and client. The reason I ask, though, is because I want to release my new Artemis companion app to the Google Play Store soon, but I am required to write a privacy policy for it. The only data the app stores is a list of recently connected server addresses, and it stores them in app-specific memory in internal storage, and is not distributed to any place where any outside entity service could access them, including me. Nonetheless, I am concerned with not wanting to be liable to offer any response to a potential breach of privacy, especially if there is no suitable response within my power to offer. If someone could answer these questions, it would go a long way toward understanding both the security of Artemis itself and resolving the concerns I have about security and liability. Thanks!
KohoutDan666
Registered:1539435134 Posts: 22
Posted 1635509523
Reply with quote
#2
Interesting topic, althought I have no knowledge about this.
Also, I'm interested in your Artemis app.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1635567580
· Edited
Reply with quote
#3
OK, this is going to be a bit of an essay. I've worked in IT Security for 25 years, and I've done more than a little picking apart of Artemis protocol packets for https://artemis-nerds.github.io/protocol-docs/ because (as you know) I reverse-engineer protocols "for fun" - it's like some people enjoy sudoku puzzles or crosswords until they have completely solved it, I instead enjoy following the clues in network packets, until I've completely understood it I'm therefore probably ideally placed to provide a full and complete and fairly well-informed answer. Your IP address is exposed any time you make ANY connection across the internet. Yes, to an extent, even with VPNs, "it's complicated", but the short answer is if you wanna use the internet, you got to use Internet Protocols, and that includes Internet Protocol Addresses (IP addresses) just to function. Yes that includes Artemis. You can't talk on the phone without a phone number, you can't talk on the internet without an internet address. Your IP address is exposed to the server (but NOT to other clients). This is slightly less useful info than the average email, or indeed web browsing connection, as you have noted. Unlike most WEB servers, Artemis doesn't even seem to display or log those IP addresses, but they can certainly show up if your server operator knows commands like "netstat" to tell them, "live", all the connections in+out of their server machine. In addition to your IP address. Your BROWSER sends a string like "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0" even to sites that have no cookies. Your ARTEMIS CLIENT doesn't even send anything like that, not even its version. Your Artemis SERVER does tell clients it's an Artemis server, and sends a version X.Y.Z. The Artemis protocols are not encrypted in the slightest. That said, they're also not not sending any personal or private data, unless you're in the habit of sending private info on the comms screen? Apart from that, the name of your ship is perhaps the most private info in the game? Your MAC address doesn't get any further than your LAN in normal circumstances. Artemis is not aware of it (client or server).Quote:
Is any application data, such as the last connected server, properly encrypted
Pretty sure it's just shoved in a registry key, but... Wait, do you honestly feel the IP address of your most recent Artemis server is, in any way, private info? There is DEFINITELY scarier stuff elsewhere in your registry, guaranteed.Quote:
Does Windows Firewall provide enough protection?
Well, as with ANY firewall, a lot depends on what your config / rules are. If you have a firewall, but "allow all in both directions", it's no use to anyone and no protection at all, in fact it's a tiny bit worse than "no firewall at all". If you use a more "normal" config, EG "allow most outbound connections, allow very few (if any) inbound connections", it's a whole lot better... BUT...Quote:
Can a hacker use it to gain control of my computer or access private files?
Now THIS is the most interesting question of the lot. First of all, the theory. In theory, the Artemis client sends almost no NON-GAME traffic to the server, and the Artemis server sends almost no NON-GAME traffic to the client. There's no built-in file-sharing functionality, not even "here have this DXS file / vesselData.dat / PNG image / mission script", never mind any other files outside the game directory. If you connect a genuine Artemis client to a genuine Artemis server, in theory they are not making any OTHER connections, and they are not communicating much more interesting than your IP address (revealed, by definition, any time you make ANY internet connection of ANY sort), they are not sharing "files", only stuff like buttons you have clicked, names / coordinates of ships / asteroids / etc, and contents of comms / GM messages etc. That's the theory. Now IN PRACTICE... If you connect a genuine Artemis client to rogue server, it's very easy for that server to make the client crash. If you are running an Artemis SERVER, and in order to do so, you have allowed inbound connections to port 2010, then it's very easy for a rogue CLIENT to make your SERVER crash... And there's no other particular controls in place there to say who is a genuine client vs who is a rogue client, or who your "players" are, so in fact if you have (presumably deliberately) taken measures to make your server IP reachable, and allow in port 2010, what this likely means is that genuine OR ROGUE clients can connect from anywhere in the world, and crash your server. ... and 25 years in IT security tells me that USUALLY, if you can make a remote program crash, then a SKILLED hacker with the right tools can probably turn that crash into "remote code execution"... as in "run my rogue hacking tool". There are MANY ways to crash Artemis by sending it invalid data, many of these are in the class of "buffer overflow" where (hypothetical example) Artemis might be expecting a name of a ship or fighter or something, perhaps max 10 chars, it may have 10 bytes of space reserved for that name, but will hapily accept 3000 bytes and write them into AND BEYOND that 10-byte space. A SKILLED hacker could/would send a dummy 10-byte name, then a bunch of padding, then be overwriting bits of memory that might not be names, but might be pointers to other bits of memory, or might be CODE. Do that WRONG, and Artemis crashes because you overwrote something important with garbage (which seems to be FAR too easy in Artemis). Do it "RIGHT", and a skilled hacker could set up for a bit of their malicious code to actually be run instead of the code that was there before. Their malicious code could do whatever they wanted, within reason, certainly including accessing all your drives and your internet. Download and/or overwrite other important files, borrow your internet bandwidth to send spam or attack other machines, "ransomware" is popular where they encrypt all your stuff and threaten to throw away the key unless you pay them $1000 worth of bitcoin or something. HOWEVER, having outlined the worst-case scenario, let me qualify it a bit... If you're running a CLIENT, behind a fairly closed firewall, you're making ONE outbound connection, to an address that YOU have determined by entering it as a server IP. If you're connecting to an UNTRUSTED server, you COULD be at risk. If someone you don't know says "Hey J0rdan I hear you like Artemis, come play on my server on 123.45.67.89" you might want to treat it about as suspiciously as "click on the untrusted attachment I just sent you". If you're connecting to a fairly WELL TRUSTED server (EG operated by a friends of yours) then you ought to be OK. If you're running a SERVER, behind a fairly closed firewall, nobody can connect to your server, so this is silly. If you're running a SERVER, and you deliberately opened port 2010 on your firewall so your other players / friends can connect to it, then you are, in theory, at risk from the above scenario. It would help A LITTLE to share your server IP with a fairly limited set of friends, because you're not drawing attention to your open insecure port, but honestly even if you don't publicise it, you're still operating an open insecure port, you're still at some risk. You can use arguments like "but why would I be a target?", it doesn't seem to matter, the tools and the motives exist to attack anyone, indiscriminately and without any knowledge of who you are or what your files might contain. I, personally, would feel a bit uneasy running an Artemis server from the same laptop where I keep my bank statements, travel documents, my browsing history, and confidential emails. This is actually partly why I wrote https://noseynick.org/artemis/nebula/ - this lets me run an Artemis server NOT next to my private files, but on a fairly cheap and completely disposable AWS server that has nothing else of any value on it. Any low-skilled hacker could crash the server (and anecdotal evidence suggests that seems to happen every few hours even accidentally (even on isolated LAN games), but PROBABLY not due to malicious attacks), and the worst-case scenario would be that a highly-skilled hacker could (ab)use something like the "buffer overflow" scenario above to get access to... Almost nothing of any value, on a (cheaply) rented machine that will be deliberately nuked when I'm done playing a few hours later anyway. I paid less than the price of a coffee, I felt a lot more secure about it, not to mention being able to run on nice high-bandwidth networks anywhere in the world without fiddly firewall hole-punching. I am not aware of any suspicious evidence of a Nebula server being compromised, I'm reasonably sure the crashes are "only" bugs being hit by legit clients talking to the legit server, probably NOT failed hack attempts, BUT if we were talking "nation state" level hacker, I'm not sure I'd know, they could plausibly get in and out without leaving any particularly obvious trace, and it's not like I've gone well out of my way to detect/log any such attempt either. I guess the absolute doubly-worst-case scenario would be that a sophisticated attacker could send an amazingly well-crafted payload to "take over" a legit server (Windows or Nebula) AND then use that to send back malicious payloads to legit clients as well... But... this isn't hollywood. In the real world, I suspect that level of nation-state hacker probably has much more juicy targets than some punks on a game server on a sunday afternoon. Clear as mud?Quote:
is any of this actually a concern or am I worrying about things that aren't an issue?
The short, simple, realistic answer, in my informed opinion is... Running a CLIENT on my personal laptop, behind a good firewall (or two), to connect to TRUSTED servers, I'm happy taking the (EXTREMELY low) risk. Running a SERVER, and deliberately exposing port 2010 to the world, I'm less comfortable, personally. I'm much happier running it in a low-risk virtual machine with no other valuable data in it... but that may be 25 years of totally justifiable well-trained security paranoia talking. NN
JordanLongstaff
Registered:1453612402 Posts: 78
Posted 1635571916
Reply with quote
#4
Thanks Nick, I appreciate the encyclopedic response. I think you focused too heavily on the specifics with what I was asking, but with that said, I've gained some understanding of the security implications here. I will offer up some responses, but the gist of my real concerns are thus: I am not running an Artemis server, nor is my app; it is strictly a client. If the circumstances under which the use of my app is unsafe are restricted to choices made by the user (e.g. connecting to an untrusted server, rooting their device) or a server host (e.g. logging IP addresses, sharing them with a third party), then I should be able to exempt myself from liability in those situations, and then there's probably nothing left in terms of my responsibilities. But I suspect the right person with which to discuss that would be a lawyer.Quote:
Originally Posted by NoseyNick Your IP address is exposed any time you make ANY connection across the internet.
Quote:
Originally Posted by NoseyNick Yes that includes Artemis.
So for privacy concerns, a connection to an Artemis server is considered to be a connection happening over the Internet. Got it. Makes sense, because I guess such a server connection probably couldn't happen without an Internet.Quote:
Originally Posted by NoseyNick Your IP address is exposed to the server (but NOT to other clients). This is slightly less useful info than the average email, or indeed web browsing connection, as you have noted.
Right, but I'm guessing that the exposed IP address is not protected, masked or encrypted in any way, shape or form. I don't know whether SSL or TLS would achieve this, but it seems to me that Artemis is not attempting to use any transport-layer encryption. I can currently use my app to connect to a server, but it requires an unprotected socket; if I reconfigure the app to use an SSL socket, the connection fails. Though I don't know if that's simply because of an SSL-related disagreement between client and server, or because my app or device is not correctly configured. Either is possible. I have other experiments in mind that I want to try before declaring this to be fact.Quote:
Originally Posted by NoseyNick Unlike most WEB servers, Artemis doesn't even seem to display or log those IP addresses, but they can certainly show up if your server operator knows commands like "netstat" to tell them, "live", all the connections in+out of their server machine.
Sounds like this should be no concern of mine. I'm inclined to say that in this case, if there's any kind of breach of information that would affect the user as a result of their connection to an Artemis server, they should contact the owner of that server rather than me. But I think that's where a lawyer would come in handier.Quote:
Originally Posted by NoseyNick The Artemis protocols are not encrypted in the slightest. That said, they're also not not sending any personal or private data, unless you're in the habit of sending private info on the comms screen? Apart from that, the name of your ship is perhaps the most private info in the game?
Not a surprise; data describing objects that exist in a simulation would be of no use to any hacker. Nonetheless, my concerns about SSL/TLS would affect this.Quote:
Originally Posted by NoseyNick Your MAC address doesn't get any further than your LAN in normal circumstances. Artemis is not aware of it (client or server).
Good to know.Quote:
Originally Posted by NoseyNick Pretty sure it's just shoved in a registry key, but... Wait, do you honestly feel the IP address of your most recent Artemis server is, in any way, private info? There is DEFINITELY scarier stuff elsewhere in your registry, guaranteed.
Sorry, I'm just being cautious. Now that I think about it, because I am thinking about a privacy policy as I voice these concerns, and because a privacy policy is only an agreement with me and the user, the addresses of connected servers would be information about third parties and would thus be of no concern. Not that this applies to any other potential stored data, mind you, if there is any.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1635644155
· Edited
Reply with quote
#5
Quote:
Originally Posted by JordanLongstaff So for privacy concerns, a connection to an Artemis server is considered to be a connection happening over the Internet. Got it. Makes sense, because I guess such a server connection probably couldn't happen without an Internet.
Well you could presumably play a LAN game rather than "the internet" as such, but other people on your LAN could still log your LAN IP address too if they wanted / for what that's worth. Again this is not Artemis-specific, the same would be true of essentially any client-server connection, apart from a few really obscure exceptions.Quote:
Right, but I'm guessing that the exposed IP address is not protected, masked or encrypted in any way, shape or form. I don't know whether SSL or TLS would achieve this, but it seems to me that Artemis is not attempting to use any transport-layer encryption.
SSL/TLS hide the CONTENTS, but they don't hide the source/dest IP addresses. When you browse to https://google.com/, SSL/TLS does NOT hide the fact that you (your IP address) is talking to google (or at least a google IP address) but does hide what you're searching for. A VPN can sorta hide EITHER the source OR the destination (but usually not both) depending on where you're looking at it, but that's not particularly relevant here. Artemis makes no attempt to hide source / dest addresses (WAY beyond its scope) but also makes no attempt to hide the contents of packets (ship names, coords, comms messages, actions, button presses, etc), but again it would be rather odd for any of that to be considered particularly confidential.Quote:
I can currently use my app to connect to a server, but it requires an unprotected socket; if I reconfigure the app to use an SSL socket, the connection fails. Though I don't know if that's simply because of an SSL-related disagreement between client and server, or because my app or device is not correctly configured.
Nah it's because no legit Artemis client or server is capable of talking TLS/SSL. Not your fault.Quote:
Sounds like this [storing stuff in registry keys] should be no concern of mine. I'm inclined to say that in this case, if there's any kind of breach of information that would affect the user as a result of their connection to an Artemis server, they should contact the owner of that server rather than me. But I think that's where a lawyer would come in handier.
I can't imagine it being worth paying a lawyer at this point. Your privacy policy for your app could make it extremely clear what sort of info you collect / store (EG previous server IPs) and exactly what sort of info you send over the network (presumably nothing more than is required to play the game - actions / controls / comms messages / whatever) and you'll be fine. In the unlikely event that anyone sues you, THEN you're going to want a lawyer, but that seems really unlikely. If it's anything like your previous app, you're collecting nothing personal, and sending nothing surprising to the server, nor to anywhere else particularly surprising.Quote:
Not a surprise; data describing objects that exist in a simulation would be of no use to any hacker. Nonetheless, my concerns about SSL/TLS would affect this.
Gotcha, so here, probably the worst-case scenario is that someone else on your LAN or at your ISP can tell that the user is connecting to an Artemis server, and what artemis server, on port 2010 (they could find this with or without TLS/SSL), but because it's not encrypted, they could also theoretically tell a bit about what consoles you're playing, on which ships, and what they are doing. I can't imagine that being particularly a problem from a "privacy policy" point of view myself. You're not asking people's personal info for your social network, you're basically a game controller, where, yeah, the most sensitive thing you're handling is a server IP and... I dunno, I can't imagine anyone is sexting over Artemis comms messages or anything?
JordanLongstaff
Registered:1453612402 Posts: 78
Posted 1635672107
Reply with quote
#6
Quote:
Originally Posted by NoseyNick I can't imagine it being worth paying a lawyer at this point. Your privacy policy for your app could make it extremely clear what sort of info you collect / store (EG previous server IPs) and exactly what sort of info you send over the network (presumably nothing more than is required to play the game - actions / controls / comms messages / whatever) and you'll be fine. In the unlikely event that anyone sues you, THEN you're going to want a lawyer, but that seems really unlikely. If it's anything like your previous app, you're collecting nothing personal, and sending nothing surprising to the server, nor to anywhere else particularly surprising.
Quote:
Originally Posted by
NoseyNick Gotcha, so here, probably the worst-case scenario is that someone else on your LAN or at your ISP can tell that the user is connecting to an Artemis server, and what artemis server, on port 2010 (they could find this with or without TLS/SSL), but because it's
not encrypted, they could also theoretically tell a bit about what consoles you're playing, on which ships, and what they are doing. I can't imagine that being particularly a problem from a "privacy policy" point of view myself. You're not asking people's personal info for your social network, you're basically a game controller, where, yeah, the most sensitive thing you're handling is a server IP and... I dunno, I can't imagine anyone is sexting over Artemis comms messages or anything?
The main reason why I'm being so sensitive about this is because, insofar as I am required to have a privacy policy for my app at all, there are multiple legal privacy agreements to which it must adhere, such as COPPA and GDPR. I would like to think that because of the sparse nature of my app's collection/usage of any potentially sensitive data whatsoever, my legal responsibilities should be minimal, but of course that's not how the law works.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1635698076
Reply with quote
#7
Honestly, having built multi-national big data processing systems that need to comply with COPPA, GDPR, SOC, ISO, even PCI and FEDRAMP, I can tell you your Artemis app is going to be absolutely fine as long as you never start to collect sensitive or Personally Identifiable Information (PII). As soon as you start collecting "real names", phone numbers, DoB, unique device/SIM identifiers, etc, THEN you would need to start worrying. I guess, in particular, if you added a "player survey" to your app, you would want to tread extremely carefully and make sure you could not, even accidentally, uniquely identify actual individuals. "Hey I can tell this particular survey entry came from Nick", you got problems. If you did want to do that sort of thing, come back for another free infosec consultation As long as you're just collecting (well, BARELY collecting, mostly USING) server IPs, made up ship names, coolant settings for a fake game, etc, you should be fine. If somebody tried to use Artemis as a dating service via your app, you could still very reasonably claim that was absolutely not an intended or expected use of your app. If you wanted to be super-paranoid, you could presumably add a disclaimer saying something like "[Insert App Name Here] is absolutely not suitable for handling any sensitive or personally identifiable information. For Artemis game-playing use only" or something.
JordanLongstaff
Registered:1453612402 Posts: 78
Posted 1635708709
Reply with quote
#8
Here is the privacy policy that I currently have: https://www.websitepolicies.com/policies/view/rAM7WoPW Out of super-paranoid litigious sensitivity, this privacy policy, created by an online generator, is inserting all kinds of statements that are not true and I don't see any way to get rid of them. This website uses an online questionnaire to ask what personal information I am collecting, how, what I am doing with it, and my response to any potential breach of data. In theory, none of this is necessary, but according to the generated policy, I am storing personal information on a computer server; in reality, I am not. I have no interest in personal information, no means of collecting it, nothing to do with it, and no servers on which to store it. I fear that this kind of sensitivity exists with all privacy policy generators. I could try revising it manually and hopefully find an appropriate web server to host it so that I have a link to it (which Google requires), but I don't know entirely what to say or do about it. I welcome any and all suggestions.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1635716748
· Edited
Reply with quote
#9
Quote:
Originally Posted by JordanLongstaff I could try revising it manually and hopefully find an appropriate web server to host it so that I have a link to it (which Google requires), but I don't know entirely what to say or do about it. I welcome any and all suggestions.
Your problem would be that as soon as you start editing it, you might be heading closer to the truth, but you might also be wandering further away from "the right legalese", not that that necessarily matters TOO much in your case. You have presumably tried experimenting with the questionnaire a bit until you can get something a bit closer to the truth? I'm slightly impressed that the policy itself seems to have no copyright message, so you're probably OK editing together bits from two or three of them into one that meets your needs, if you wanted? You could self-host it on a github.com page if you wanted, or any number of other free self-hosting options... Otherwise I can host it for you - talk to me off-list and I can give you a few options for domains and things.
Mike Substelny
Administrator
Registered:1375273622 Posts: 2,990
Posted 1635730357
Reply with quote
#10
Artemis was originally designed to be played on a LAN without an internet connection at all. That is the way I play it.
__________________"The Admiralty had demanded six ships; the economists offered four; and we finally compromised on eight." - Winston Churchill
EricF
Registered:1510413974 Posts: 239
Posted 1635732561
Reply with quote
#11
I appreciated reading this thread, it's always interesting to consider these "well, no, although if you REALLY tried..." scenarios. The rule of IT pen testing always seems to be: if you're sufficiently determined to misuse a tool, eventually you'll find a way to do so.
One important thing to consider here is the cost vs. payoff of developing an exploit. It would take a colossal amount of work to painstakingly develop a useful way to abuse buffer overruns, and would probably only work in a targeted environment. It is almost unimaginable that someone would try to do this with Artemis when so many more interesting, widely used targets are available. Especially because Artemis uses a proprietary protocol.
"Security by obscurity" isn't really security of course, but it's definitely part of the equation for determining how likely an attack is.
So: if you're just playing for an hour or two occasionally, not posting your server IP widely and publicly, your attack surface is very small.
And at the end of the day if you're really concerned, just take your machines off the internet! Artemis only needs a local network, it doesn't need the internet.
NoseyNick
Registered:1519077343 Posts: 349
Posted 1635742145
Reply with quote
#12
Quote:
Originally Posted by EricF One important thing to consider here is the cost vs. payoff of developing an exploit. It would take a colossal amount of work to painstakingly develop a useful way to abuse buffer overruns
I don't do this sort of exploit development myself, but I work closely with people who do. I am reliably informed that usually, finding a buffer overflow is the hard part, but having found one, especially one that allows BIG overruns (like Artemis does), converting it into a "remote code execution" exploit is relatively easy for someone with the right skills and free tools. Minutes to hours, not days. Artemis has dozens of easy buffer overflow issues, in fact let's be honest, EVERY SINGLE ONE of us has seen a server crash, probably many times, even with 100% official clients talking to a 100% official server on a closed LAN with no realistic scope for outside attack. It's not particularly hardened against "normal intended use" never mind "attack scenario".Quote:
and would probably only work in a targeted environment.
Not sure what you mean here. Almost all Artemis clients and servers are being run on recent Windows x86 as a PE32-bit exe, Also very few Artemis versions are in use, and it's trivial to tell exactly which one you're connected to. There's ... maybe 4 environments to target, with "Windows 10 running Artemis 2.7.5" being the obvious first one to try?
Quote:
"Security by obscurity" isn't really security of course, but it's definitely part of the equation for determining how likely an attack is.
Well, sure, I mean exploiting WoW or Minecraft, or whatever the kewl kids play these days, probably plenty more targets, or attacking financial institutions / social networks, plenty more reward for the juicy data at the far end. Granted.
Darrin
Registered:1518310287 Posts: 434
Posted 1635767029
· Edited
Reply with quote
#13
Artemis is available on STEAM. I've never put a game up on STEAM, but I'm guessing part of that process is you have to give them some sort of privacy policy statement. This Wednesday, I'll ask Thom about it, and see if he has put together something like that already for Artemis. If he already has the boilerplate for it, then I'm guessing you could probably just borrow whatever Thom used for your purposes. There is one other vulnerability in the mission scripting language. You can use the "Spawn External Program" command within a mission script to run an executable program on the server. You can either include the executable as part of the mission, or you can invoke some other program in a different directory, such as CMD.EXE from the Windows directory, opening a DOS shell to run basic DOS commands. This command was included so that mission scripters would be able to launch media players or other third party programs in order to play video/audio clips (such as VLC.EXE). Within the mission script XML, it looks like this:<spawn_external_program id="Shell1" name="C:\WINDOWS\system32\cmd.exe" arguments="cmd" /> As far as I am aware, no one has ever intentionally used this to harm a server or to run malicious code. The circumstances for such a thing to happen would be fairly unlikely, unless you're trying to harm one particular person or computer. Damage would very likely be contained to just the server PC. If you're smart enough to figure out how to use the open connection to an Artemis client to find an overflow and exploit that, then my guess is Artemis would not be a very good vehicle to deliver that kind of attack. It would also be very easy to detect. The XML used in the mission scripts is not encrypted, it's readable as plaintext, so you could easily parse any mission sent to you from a questionable party for "spawn_external_program" and look for anything hinky. There are older missions that use VLC.EXE to play media clips, so you could probably "hide" a trojan by renaming it VLC.EXE, and someone parsing through a mission script could see the external program there and assume it was harmless. But again, damage would likely be limited to just the server PC.
__________________ Call Sign (EF/TSN): Bassellope
NoseyNick
Registered:1519077343 Posts: 349
Posted 1635772413
· Edited
Reply with quote
#14
Quote:
Originally Posted by Darrin There is one other vulnerability in the mission scripting language. You can use the "Spawn External Program" command within a mission script to run an executable program on the server.
True, true... However these only run SERVER side, and I would (perhaps naively) like to think that the server owner knew what script(s) they were installing/running and what they were capable of. There's no way for a malicious client to MAKE the server run a particular script with spawn_external_program in it, nor is there any way for a malicious server (or server operator) to make a CLIENT do anything similar... as far as I know? Or does it run on "all other Main Screens"? ... which would then need a copy of the mission script or at least its video files? I don't think so? I guess some good advice would be "If you're downloading random scripts and running them on your server, have a look at the contents, and in particular, see if you are happy with any spawn_external_program commands" . Spawning VLC.exe on a known-good video file, probably fine. Spawning "format C:\" or oter suspicious executables, probably not
EricF
Registered:1510413974 Posts: 239
Posted 1635783901
Reply with quote
#15
Speaks to why so many real-world attacks are social engineering: "Exploit a buffer overrun": difficult. "Convince a user to download a malicious script by naming it something related to a thing they like": often easier.