All right, so Stephen has been doing some research into banking. How many people out there use things like Quicken and things like that to fill out the spreadsheet for you? Yeah? Okay, this is a security conference, so you all fail. You can turn your mother's maiden name at the desk on your way out. That stuff's always kind of giving me the creeps. That's why I use Redacted, and I fill everything in by hand. And to validate that decision, let's give a big hand to Stephen. Thank you very much, sir. Great time, man. Take a quick drink of Pepsi. So I want to say first off, this is my seventh DEF CON, my first time on stage. I am super excited. I'm super excited to be giving back to this community finally and share some knowledge of what I've been working on for about six months, all told. So, hacking banks, because that's where the money is. What was my motivation? I think there's a lot of community overlap. Excuse me. The tech geeks and finance geeks, a lot of people I work with are finance geeks as well. I like to hack things that I use. I like to hack things that are in my own backyard. I want to make my life safer and then, you know, improve the world around me through making my life safer. And I don't write banking software. I'm a pen tester by job. So I'm just a guy with curl and Python and some curiosity. And I'll kind of walk you through how I went from zero to this talk in the last six months. I'm sitting at home. I'm using Quicken. I am security aware. I've got two-factor in all my accounts. I load up my bank account in Quicken. The password doesn't work with a two-factor. Well, surely typing the password without two-factors, that's not going to work. Nope, it does. So what's going on? What's going on here? Just plain text password. Is there a separate server? Is there a separate protocol? How is Quicken and other desktop software talking to my bank that's not just going through the web page? So let's talk about Quicken. Quicken is one of what the financial industry calls a personal financial management software. You've probably seen these names. A lot of people read them. They raise their hand. Mint.com is very popular. PFM is the industry term. I'll start throwing that around. I have a bunch of bank accounts. Some people collect credit cards. Sorry, I collect credit cards. Some people collect baseball cards. Some people have way too many domain names. I have way too many bank accounts. They give you bonuses when you sign up. I like understanding from a practical standpoint. Real sense how the financial system works. So I've got, let's say, less than 100, more than 20 bank accounts that I want to manage. And that becomes a pain. So I want some simple aggregator clients that I don't have to write myself. That'll just keep track of my transactions every month. I use Quicken personally. It's the devil I know. It's terrible. I love to hate it. I don't recommend it. I don't recommend any of these. I wish there was one that I could recommend to you. So let's start from the user's experience. This is the Quicken UI. On the left-hand side, you've got your list of bank accounts. It also does loans and credit cards. On the right-hand side, you've got a big transaction list. Everything you bought, who you paid, what you paid when. Pretty standard for balancing your checkbook. So you first install a program like Quicken, and this is what happens. You have to enter in your account info. First you tell it what kind of account you have. It's quite a large selection of banking products that we all use. Then you pick your bank name. And it does basically a name, this sort of URL lookup, a DNS-like lookup. That's called the branding service. Then you pick out how you want to connect. Usually there's just one. One way, sometimes there's multiple ways. We'll go into that. Then you type in your credentials into this totally not your bank's website form where you put your plain text password. It somehow finds your account. You pick the one that you want to interact with in the app. And voila, it starts downloading your transactions. That's what the user sees. So what's going on in the background? There are three ways in which Quicken and sort of other financial management software talks to your bank. These are the Quicken brand names. One's called WebConnect. WebConnect is a fancy way for saying you go to your website, you type in your creds, you go download a file, and you manually import it into the app. WebConnect is easier to say. Express WebConnect is Quicken has a bot that does that for you. It's all manual. Direct Connect is what we're going to talk about. It's a programmatic, structured query language based on the OFX protocol that talks directly between your client and your bank. So again, in picture form, you are the middleman on WebConnect. An Intuit server is the middleman on Express Web Connect. And Direct Connect is you actually talking directly with your bank. It's the minimal amount of trust relationship. Financial institution here is also the industry term for bank or credit card or investment account or 401k. I'll start saying FI or financial institution from here on out, now that you're in with the banker lingo with me. Another step here is account aggregators. These are important to understand. So every bank, if you have to actually connect and go download a file, well, they all do it a little differently. So someone realized that there was a business here, creating one unified API, their own proprietary API, and then screen scraping as a service to all these other banks. So there's a couple. These are the big names in account aggregation. Yodlee is the biggest. They've actually been around for like 20 years. They also clean and normalize the data. So your names of the companies that you bought stuff from and what type of purchase it is all gets canonicalized across multiple institutions. They provide a good service. And to the end user application developer, they provide a consistent API. So if you want to write your own banking app, you don't have to talk to thousands of different banks individually. But they also add... Yet another layer of trust. So now my plain text password goes from my computer to personal capital web application, PFM, to Yodlee, and then to my financial institution where they do some screen scraping or maybe make that direct connection to OFX for me. I have to trust that every one of these hops has my own financial best interest in mind and that they are all competent enough to protect a secret. The first is easier to believe than the latter. So hopefully you're seeing, as I did, that this whole architecture is lacking in least privilege. And this is bullshit. Like, these are our banks. These are... Hey, Joel. These are our money. Why do I have to give full read-write access to third-party software? To just, you know, balance my checkbook every month and trust some, you know, the latest financial app who's then giving my read-write password to a third party and then to another third party. What's definitely needed here is some kind of OAuth tokenized app-based access control where I can say, hey, Quicken, you can go to my Bank of America account if you only have read-only access and only for 30 days and then talk to me after 30 days and I'll re-up your privileges. That's what we need. That is not what we have in 2018 in banking personal finance. So that's the end-user perspective. Let's get technical. I'm going to start at the specification level, walk you guys through how things could work, and then we'll talk about implementations and deployments and how things... actually work. The OFX protocol is an open spec. There's a group of companies that build it. It's freely available for download and perusal and implementation. You can go grab this spec right now and read along with me if you'd like. OFX is this proto-web service. It was actually invented in 1997. So it's before we even had REST as a term, but it passes messages that are structured over HTTP, sends a request, gets back a response. It can do pretty much anything that a normal consumer would want to do with their bank. You can, you know, checking savings account, your IRA, credit card transactions. You can do bill pay. Those first three on the left there, kind of read-only operations. On the right, writable operations. Wiring money to foreign banks. Transferring between accounts at your bank. Transferring to accounts at different banks. It's up to each financial institution to sort of decide how much of the spec and the protocol that they implement. No one really implements them all, as we'll see. It also does taxes. I didn't really research into that too much, but TurboTax that I use and a lot of people use also pulls a lot of data through this protocol. And then that's kind of the data path, and then there's sort of a config path within the protocol and other interesting side things. So initial enrollment and password change can be done through OFX. Messaging from the bank to you. Notifications from you to the bank. And lots of... functionality that's sort of obviously there to help transition a small bank, a traditional bank, into the digital age. So you can download images and PDFs like within the protocol. Sort of meant as a scan of your bank statement instead of sending it to you in the mail. It's an obvious first step getting away from mailing you, but it's just scanning a PDF and sending you the exact same thing. This protocol is complex. It's got a 650-page specification, and it's actively developed and growing. With that complexity, we all know, comes insecurity. I mentioned it goes over HTTP. So here we're going to actually look at some captures of sorts. This is the standard HTTP header. You're doing a post request to a well-known URL. Request response, as I said. That URL is almost always just some kind of base path and then server handler. You remember CGI. It was definitely based off that. There's a unique content type application, XOFX. And some servers, not all servers, do user-agent filtering. So I'm using the Intuit client app user-agent here in these examples. So the same slide, I just dropped those HTTP headers, make the text a little bigger. And we can look at the real protocol. It's got a header that mostly remains static. It tells us the version number, which is the most interesting part. And then the body, it looks like HTML, right? We've got elements and tags nested within each other. We've got span elements. We've got block level elements. It's actually SGML, which if you've never heard of, neither had I. SGML was invented after HTML, but before XML. So they were like a little bit of rigidity so that you can parse it well, but not a lot. Still some wiggle room. You can tell it's not. You can tell it's SGML. Because there's no closing tags on the span elements. Those become required in XML. It's hard to get an SGML parser today. Python deprecated it in 2.6, which was years and years ago. So that's an interesting note. And you'll notice plain text user ID. It's basically HTTP basic auth. Every one of your requests sends your username and password plain text. In every request. All over TLS. So it's not stiff. TLS is required. But no challenge response. No session token. There is a session token mechanism of sorts. I have not seen it used. And there's this financial ID that's sort of optional. Sometimes you need to specify the numeric value for the bank. Sometimes you don't. And on the response, there's a status code. Inside every block saying success or unique error message. So pretty easy to parse. Very human readable. And all outlined in a decently written spec. So typical protocol flow. We saw this in GUI. This is the same thing over the wire. The client makes a profile request, which can be made anonymously. Gets a bunch of capabilities from the server. Hey, do you support banking? Do you support investment? Then it sends. A account info request. Getting the list of accounts. That one has to be authenticated so it can look up your accounts. Then it sends a statement request getting all of your transactions. Here's an example of the profile request. That last one we looked at was just the simplest authentication. Now we actually are asking for some data back in the body. This profile request. Anonymous sign in. Prof RQ. You don't really have to pass any data at all. And you get back a lot. You get back a lot of interesting info from a server sitting on the Internet that anyone can query with anonymous credentials about what it supports. This example, we've got the bank message set. It's telling me checking accounts and savings accounts likely are available. This X for prof tells me that I can do money transfers to different accounts. That's intrabank money transfers. And then also in the profile is information about the bank, 1997. Most banks didn't have websites yet. So this was sort of seen as like the way you were going to talk to your bank and they might not have a website. So the, you know, physical address of the bank, an email, you can talk to someone at the bank. That all comes back with this profile request. So a timeline, 1997, Microsoft, who's making Microsoft money, Intuit, who's making Quicken and check free, who's since got bought out and is not a common name, all collaborated to make this protocol. They each had their own proprietary protocol. Which your client had to use. Talk to the bank. Presumably it was hard getting a bank to implement even one. So they merged together and put their combined weight to get the banks to actually run one of these OFX servers. 2005, the FDIC sees a lot of banks are going online and says, okay, we should make sure the security here is up to snuff. So FDIC, the U.S. federal government deposit insurance corporation. Who has to pay out when banks lose money, says, okay, guidance, all banks should, not must, but strongly should use multifactor authentication for any of their online access. So in response to that, a new version of the spec comes out, 2006, called 1.03 with MFA. Which we'll go into. They transition it to XML, 2007, brand new, beautiful spec with OAuth, came out in November. It's eight months old. No one has implemented it. It is not in the wild yet, I'm hopeful. And you might notice there's a big gap here between 2006 and 2017. Pure speculation, but 2009, Microsoft decides that Microsoft money, their premier software, personal finance management software, it's not worth it. They drop it. Team stops developing it. And two things happen. Intuit, now sort of being the only player in town, gets lazy and starts charging people $100 a year for the exact same version of Quicken, 2010, 2011, 2012, no software improvements whatsoever. Because they have no competition. And they don't need to try. But on the good side, there's this whole community effort, because people loved Microsoft money. And so a lot of geeks started, like, posting on forums and putting up web pages and finding out about OFX and writing clients. And that's what all of my work is built on, is these guys in 2009 through 2011 who wanted to replace Microsoft money with a bunch of Python scripts and Excel spreadsheets. So let's talk about MFA. Quick refresher that most everyone knows in this room. Multi-factor authentication, something you know, something you have, and or something you are. The point is to remove the brute force password attack. Or. The theft of your password as valid attacks against your account. Things that individuals are quite susceptible to. Banks have been doing two-factor authentication for 50 years. With your ATM card. You have your card, you have your PIN number, something you have, something you know, they're good at this. In addition to multi-factor. Sort of. Security community. The security community has finally settled on the name two-step authentication. Better than one factor but not as good as multi-factor. We see this a lot. We see this a lot in banks. We still see it with Twitter. Getting an SMS code instead of something you physically have. Some side-band channel of information. Again, better than one factor but not as good as two. So. 2006 MFA is should, not must, by FDIC. What is the protocol implementers do? They have four different solutions in the specification. One is this user cred. One is this MFA challenge. They're both basically the asking questions about your mother's maiden name that you all know and love. Okay. Okay. In fact, the second one is hard codeed in the spec. These are the questions that you will ask as a server to the client. 2018, we all realize these are both something you know. These are things that are somewhat obvious or easily available to learn about a person. And, moreover. I have the, like, I have the cheat sheet before the test. Right. Oh, okay. I need to find out these 20 things about this person. And then I can definitely log into their account. You know, there's zip code. The other two forms, a little better. Client UID, auth token. I'll start on the right. Auth token, server-generated sort of GUID that sends the client. Client has to send it back every time. It's sort of key value-ish. It could be used to hold, like, TOTP, like one-time password codes, but they don't do that. Nobody uses it. Client UID is what everyone is sort of standardized on as the second factor. It is client-generated GUID. Client sends it the first time. Server records it. Every time, henceforth, the client has to send that same UID, otherwise the server will stop trusting them. So it's TOFU. It's trust on first use. But actually, people have, like, more than one computer, and this is recognized in the spec, and in the implementation guidelines. Like, people have a desktop and a laptop. People have a phone. So it's actually trust on first four uses. Sometimes two. But yeah, so, like, if you've never seen this client, and they make up an ID, well, as long as you don't have more than, like, one or two already stored, sure. They're also the same person. And that is the state-of-the-art in multi-factor authentication within the protocol that passes your money. But I have good news. Because that's in version 103, and no one's running 103. They're running 102. 80% of the implementations in the wild are not running, are running the version that was written in 1997. 20% are running the version that in theory can support multi-factor, and no one is running. The OAuth version. Good news. So let's talk about the financial institutions. These banks we love. We all know these big names. Most of us probably have an account somewhere here. These are from, like, the top 20 by assets of U.S. banks. Citigroup, J.P. Morgan, Wells Fargo, American Express for credit cards. Ofx is used by these guys. Ofx is also used by YOLO. You only live once, Federal Credit Union. This is me participating in bank branch tourism. I flew to California and then drove two hours to get this photo for you. I have a lot of bank accounts. And if that's not enough, why don't you guys start a bank? Jack Henry will help you. Are you ready to start a bank? We have tips and advice. Jack Henry is one of the major software providers of OFX. The more banks there are, the more money they make, the more software they sell. Start a bank. If anyone wants to start a bank, like with me after this, we'll see if we can hack it out tonight. So I learned there are a lot of banks. Like, a lot. U.S. and Canada. Other countries are much more restrictive. But there are, according to Intuit, 15,000 FIs, financial institutions. About, according to OFX Consortium, 7,000 banks at one time have deployed an OFX server. My personal scanning shows about 2,000 unique institutions on the Internet right now. That compresses down to 400 unique servers because there's actually a lot of service providers, sort of like web hosting, OFX hosting companies in this space. But there are a lot of banks in the U.S. and Canada. Many of these are the same company. Like, when you have a Target-branded credit card, that's an FI. When you have, like, a Quiznos-branded credit card, that's considered a financial institution. So, it's not purely, like, separate business entities. There's some indication that that difference between the 7,000 number and the 2,000 number is a decrease in popularity of people running OFX servers, which is sad, but also good, because it's insecure. As a quick aside, I got banned for life from Capital One. It's another story for another time, but I was doing, like, these large cash transactions. There was some Bitcoin. In retrospect, maybe it looked like money laundering or very successful drug dealing. Totally legit, though. I tried opening an account. It's been five years. I'm still banned for life. And I was a little, worried. Like, I was a bit, like, oh, my God, I don't have a bank account. And had I known, like, there's 4,999 other people who are willing to take my money. So, don't worry about getting banned from your bank. So, let's go into my investigation. Now we're going to go into implementation and deployment. I wanted to do a survey. I love Shodan. I love just, like, surveying the internet. I want to, like, you know, I want to find out how big is the problem. How big is the problem space? I want to ask these two questions. You know, what financial institutions are even running these servers? And what software are they running? Two simple questions to ask. Here's the point where I say, my research was only reconnaissance. I am sending packets at live production Fortune 500 company systems. I do not... I do not want to even accidentally take one down or gain unauthorized access. So, I did very simple recon. Like enumerating the host and sending GET requests. Enumerating the host, that's the tricky part up front. But there's this great OFX community who has sort of kept the database of these servers for several years. OFXhome.org is the best one. They've got a great website. This is where you can find out how to talk to your bank directly. GNU Cache, Keep Stuff, there's, you know, you Google them, you'll find them. But OFX.home is the best. Commercial clients, Quicken, they have what they call the branding service. You put in a name and it sends it off to their server and sends you back a URL for that bank name. And the URLs look like that up at the top. Usually a subdomain, then some subdirectory in the path, and then some server handler. Interestingly, this is hard to mass scan. Like, it's hard to script this. Because you're not looking for a port. You're looking for a web service at a path, and that path can be anything. So I haven't come up with a good way of, you know, sort of finding these out of the ether. You sort of have to know they already exist. Or, you know, call the bank and ask them. So after I enumerated a large number of hosts, we just do a proof of life. Like, just make a TLS connection, and see if that thing's even there. And then we're live. A lot of this data is stale. It's from 2011. So it's kind of an archaeology adventure, talking to servers, you know, set up five, ten years ago. What I find from a TLS connection? Stale DNS. 232 are still listed in DNS, but the IP doesn't accept the TCP connection. Not a big deal. Like, no exploit. But it's sort of like hinting at neglect. Hinting at, okay, so someone, you know, didn't clean out their DNS. How long is that going to live there? 15 that will accept a TLS connection, but tell you that their cert is bad. And expired. For years. So we've got 15 hosts that have, assumedly, my data still on them, but that no one's looking at. No one is maintaining these servers. Bigger red flag. I've connected. Let's send get slash and see what we get. Like, you know, web server profiling 101. I get a lot of banners. Sure, okay, so not the best, you know, configuration. Didn't turn off that you're using IIS. Start getting OFX banners. Hey, this is handy. This is the OFX server version. Thanks. Build number, version number, date of release, time it was built. Very useful for me to start planning my attack. More of the same. Anybody notice something weird about that build date? 2007. Okay. They're web servers. Let's talk to the OFX servers. What's the simplest possible, like, valid protocol within spec that I can send? An empty, an empty tag. An empty, you know, base tag. Let's start sending that. Error. Java lang null pointer exception. Okay. Parser error. Not handling, not handling, not getting the elements that you think are always there. That's worth looking into. This is like a threefer. The header is like it starts, but then it stops writing the header. And then the message has two spaces because I didn't send a financial ID. So it's doing some sort of printf, you know, string replacement of data that I sent in. And it's going to reflect it back to me. This database error, quick Google search tells you it's an IBM DB2 database that returns that error. You know, it's not going to send it back. You know, straight from the database into the application server, back to the client. No scrubbing. Ooh. Stack trace. This is what I was looking for. Getting warmer. Stack trace with a full qualified path on the local system to where the code is and what line of the code fails. Yes. That was like, I mean, I sent nothing. I sent a header and eight characters. So let's switch. Now I want, like, real data. Like, I don't want to cause errors. I want it to just give me a profile. Just tell me about yourself. Like, you know, first question on a first date. Send the profile request. First part of every transaction that Quicken is going to do. And here's that session token of sorts that I talked about. I was signing it as anonymous. So first it shouldn't have given me a session token. But it did. And then it's a year long. So this server gives out year long session tokens. If I ever steal one, then I can read your account, you know, password equivalent for a year. The profile response thankfully tells me all about the password policy of that server. Because I have to send passwords so the client has to know how to validate. This one, minimum, four characters. Maximum, four characters. Not case sensitive. No special characters allowed. No spaces. I'll do the math for you. It's about a million and a half total combinations. If you could check ten a second online, it would take you about two days. To brute force the entire key space that is possible for all user names at this bank. Thankfully I don't even remember what bank that is. So I can't tell you. That was just asking for anonymous information. Third and last sort of query I did was give me an account list. For anonymous user, which is, you know, specified in the spec. You can send this anonymous user this well-known string. I should definitely get an error, right? I should get either authentication failed or no accounts found. Simple. Easy to program. Two error cases. Here is what that request looks like. This is the entire request. Very small. Just asking for account info. And here is the error message. Or error messages. Same request. Sent to about 2,000 different servers. This is a subset of the error messages I got back. How many different implementations are running out there? How many different configurations? What? Sign on invalid. Unsupported operation for anonymous. General error. User ID password combination incorrect. How many ways did it say, like, I failed login? So let's talk about the financial vendors. Who is building this software? And how many implementations are there? This is a great little chart. Not mine. It's from one of the financial software vendors. Explaining bank software. Three parts you need to know. On the left, you have what they call the core. The core is a database and batch processing. It makes sure the bank knows how much money it has at the end of every day. In the middle is middleware. That's every bank service, customer-facing service that you're familiar with. Bill pay and remote deposit and dealing with your ATM. And then user experience mobile web on the right. Three pieces. Every square on this diagram can be provided by a single vendor or the same vendor in the financial software world. Imagine the combinations of complexity within the bank IT system when, and this definitely happens, every one of these squares is a different vendor. These are not shrink-wrapped boxes or apt-get installs or, you know, app stores. These are high-touch call-to-talk-to-sales negotiated deals for online banking solutions. A lot of these servers don't even have names. They're just the solution provided by the company. And OFX is one very small part of this ecosystem. Often a deployment like this involves custom development per bank. Not custom deployment. Custom development. Like code written just for bank A and then different code written just for bank B because, you know, abstraction doesn't exist. I mean, it's vendor lock-in, obviously. It's a way for the vendor to assure they'll be, you know, in the right place. Maybe they'll get their re-up on the next contract. Here's a list from Intuit on the banks that support, sorry, the vendors that support OFX. This is their official list. I found nine more not on this list. Assumedly they're no longer, like, you know, preferred partners or some such. So we've got 30-plus different vendors of this singular protocol. These are the big guys. I didn't have enough data, unfortunately, who's the biggest apples-to-apples comparison. Just a couple names. FIS and Fiserv, they're multibillion-dollar companies. They're the Microsoft and the Googles of banking software. Then Enterprise Engineering and Q2, they're sort of the up-and-comers. They've established themselves as seeing a lot more servers with advertising themselves as these two companies. It's a little small. But the Enterprise Engineering logo, says the name to trust for financial data solutions. I don't want to make fun of them, but it's on their website, which is not over HTTPS. And they forgot to pay their Google platform API bill. You can go there right now. It still looks like this. We all have bad IT days. Like, the people who build the website are not the people who build the OFX software. I know. But if you put the trusted name and financial software on every web page, you should not have this page can't load Google Maps correctly also there. And then there's the hosting providers, who play a big role. So two-thirds of these FIs are behind hosting providers now. It's like everyone's going to the Amazon Cloud and Azure. Everyone's going to hosting providers. For a good reason, right? They can do a better job at security than your ma and pa-like credit union in your town of 4,000 people. Their security is better. Not good. But better than the self-hosted ones. I don't fully understand all the back-end details between the OFX server, because I'm just poking it from the front. But a lot of these are batch jobs. So like the, you know, your OFX server sits in some data center and it pulls and gets your transactions like every 24 hours. So that's why if you're actually using Quicken or something, you often, you don't see your credit card transactions ASAP. There's a batch processing in the back-end. A bunch of different stacks, of course, across 35 development vendors. This is mainly just server headers. There's a lot of IIS, but there's plenty of Apache. There's a whole long tail. Several of these are custom HTTP servers written by the OFX provider. And there's a ton of acquisition. Banks love M&A, like divestiture and acquisition. These are compilers and debuggers to banks. They just do this every day, over and over again. Spin this company out, buy that company back. We do this in tech, too. It's not a bad thing, but we all, if you've been through an acquisition, you know sometimes the new company totally forgets about the tool you wrote, and it just atrophies. So there's a ton of that in this industry. This is from FIS. Four of these names up here had first-party OFX servers, and then they got acquired, and then things went downhill. The vulnerabilities. Some quick math. This is not like a PhD-level algorithm that I applied. But across this much complexity, I'm pretty sure there's a lot of vulnerabilities. And, I mean, as you saw, none of these are zero days. None of these are, I got your money. But from sending a GET request, there shouldn't be this much smoke. There shouldn't be this much bad from the level of effort that I had to put in with a web browser and cURL. On the left, that's a list of stuff we already talked about. On the right is things that I don't have time to talk about. I have a bank that still uses my social security number as the username for OFX. Not for the website, but for the OFX protocol, I got to use my social security number. Found some unregistered URLs. You can, you know, you can just... You want to start a bank? And reflected cross-site scripting. I know it's not HTML, and yet I got an XSS attack here. Okay. Let's play along at home. So everything I did, I hacked together in Python, but I wanted to give it to you guys so that you could try it too. Professional pen testers for financial institutions, for people writing the software. Let's build a tool. Let's make this better. It's not action GitHub. It'll be there in a couple of days, but it is real and it exists, and I'll show it to you now. CLI tool that's going to go through and sort of do what I showed you. Takes a couple arguments. The URL, the server you want to talk to. Optionally, the financial ID if you know it. It's not always required. You get this all from OFXhome.org. You can find your bank and run it against it right now. Sends some queries. Does some analysis. Scroll back up. And... We sent that get to slash. We sent the post to OFX path. We sent the empty OFX payload. We store those all locally, and then we just scan through them. From that profile data, we're going to get financial institution. Make sure that's the real one you want to talk to. Their address, their info. We're going to get that OFX sort of header version information. Run in 1.0.2. This is a service provider, LanExtra. We're going to get the capabilities sort of in this markdown format. It's a banking server. They do support transfers. Fingerprint. It's running Apache Tomcat. Couldn't figure out the web framework. Software fingerprint. Finastra is the company that built the software. It's called Cavion. Figured that all out from what they told me. Couldn't get the version number. Couple simple tests. They fail MFA immediately because they're running 1.0.2. And their password policy is also not very good. So, Sunday maybe? That should be up. If not, Monday. You can check my Twitter, and I'll post as soon as it's up and available. You can download, and you can run it. Ofx is your bank's digital side door. It's not a back door. That's, like, hidden in secret. The front door, you know, and that's the web app, and that's the mobile app. It's the front door, but with less care and less security and less attention. It's the side door. We all know that attackers are going to go for the weakest door into your finances. It's a sad story. I don't want to be a downer, but neglect is the word that kept, like, jumping into my mind. It's a lack of investment. I've talked to bankers. I've talked to bank IT guys. I mean, they literally say, we pay the system integrator. They install everything. Um... Five months later, I call them again. They give us the upgrade. That's the state of a lot of IT in 2018 at your local financial institution. It's an even sadder story for the consumer, because this was 1997. Like, we had an open protocol with programmatic access to our finances. No vendor lock-in. Like, no loss of privacy. Just you and your bank. And it's just... It didn't go anywhere. It didn't take off like it should have. Like, how much better could our banking experience be today if Microsoft hadn't, like, you know, stopped competing? I wish my bank would have started when it was younger, but it's never too late to plan for retirement. When you set up a server, like, have a plan on how you're gonna take it down. When you deploy a TLS certificate. Like, make a Google Calendar-like message when you have to update it. Monitor your finances. Monitor your network. Know what you're running. Know every service you're running, not just the front door. This was only recon. One protocol, one endpoint in a rat's nest of bank middleware. I had fun. I'm gonna keep building off of this. I'm gonna keep building out that tool. If anyone wants to help, PRs are welcome. If anyone's from a bank and wants to, you know, wants to tell me more, good stories. Would love to talk to you. All of you, please take the research, build off of it, and help make our personal finances more secure. Thank you. Thank you.