Category: Blog

  • Banging Your Head Against the (Fire) Wall? Creating a Proxy Tunnel With Ansible 

    Banging Your Head Against the (Fire) Wall? Creating a Proxy Tunnel With Ansible 

    By William Phelps, Senior Technical Architect

    In today’s IT world, it’s very common to encounter network restrictions in accessing resources between servers. The restriction often manifests itself as a firewall rule, keeping a server in a development environment from accessing a production server, for example. This practice keeps servers segregated from inadvertent or even malicious access but introduces a hassle to manage from a central server.

    This article outlines how Ansible can be used to “tunnel” a server connection out of one environment through a bastion host to a port in another environment. The use case being described in this article is an Oracle SQLPLus session needing to get to a database server that resides in another environment. Please read the disclaimer at the end of the article.

    A “bastion” server serves as a gateway to access servers without granting direct access to the destination server(s). A bastion typically would be exposed to the outside world in some fashion, with “outside world” meaning that the bastion sits in front of one or more networks, with access to the networks having to come via the bastion. The rest of the servers have some level of ingress/egress access restrictions that require the passing of the request packet stream through the bastion. In some more intricate cases, there are multiple bastions that must be traversed in order to access a resource.

    The environment setup is described as below:

    • A Linux RHEL-compatible server (“controlServer”) with the Oracle SQL Developer client installed. The client software includes SQLPlus as part of the software package.
    • A server (“DB Server”) hosting the Oracle database. (For this exercise the actual database operating system is totally irrelevant, as the access will be going to the database listener port.)
    • A Linux RHEL compatible server (“bastion”) that is serving as the bastion host.
    • “controlServer” can access “bastion” over SSH. The SSH port in this case is 22.
    • A user with an SSH private key exists on “controlServer”, and the corresponding user exists on the “bastion” with the public key in the user’s “authorized_keys” file.
    • The “bastion” has a network path to reach the database listener port on “DB Server”.

    A simple picture gives a general idea of the basic conceptual flow. The control server issues a request to the bastion via a tunnel on port 22, and the bastion in return ”forwards” the request to the DB server via port 1521.

    
A network diagram illustrating a Control Server connected to a Bastion server via port 22 through a firewall, and the Bastion server connected to a DB Server via port 1521 through another firewall.

    To execute the database portion of this overall request, the following items are needed so that a valid database connection string can be constructed:

    • database user and password
    • database service name or SID
    • database hostname or IP address
    • database listener port

    For simplicity, the Oracle EZConnect syntax will be employed for the SQLPLus execution. As an example, if the database resides on server “abc123” with a listener port of 1521, and a service name of “foobar”, the user “myDBUser” with a password of “myUserPass” will result in a connection string as “myDBUser/myUserPass@//abc123:1521/foobar”.

    (There is an intentional reason to avoid directly editing any tnsnames.ora files. The idea is to make the overall solution as portable and as less “OS level access dependent” required as possible.)

    For the bastion access portion of this exercise, the following items are needed:

    • A user account on the control server to login via a Putty/console session (i.e. “controlUser”).
    • A user account on the bastion server (i.e. “bastionUser”) to login via ssh.
      • While a username/password combination can be used, the safest approach is to use a public/private key file.
      • The “private” key must reside on the control server in a location where “controlUser” can access the key, and the “public” key resides in the “authorized_keys” file in the /home/bastionUser/.ssh folder. (Again, for this exercise the idea is to stay simple… an ssh agent to manage keys could be used, but the idea is to be as portable as possible.)

    On the control server, the following software is required:

    • Ansible (yum install ansible on RHEL compatible Linux). Keep in mind that Ansible cannot be installed on Windows. The control server will have to be a ‘nix base distribution.
    • Oracle SQLDeveloper or some flavor of the Oracle client that has the SQLPlus utility. Verify that SQLPlus will launch correctly before trying to run it via the playbook being created.

    Finally, the appropriate ingress/egress rules must exist in firewalls to allow communication. Specifically, there must be a route available from the control server to the bastion, and a route from the bastion host to the DB server host over the appropriate ports. There is no need to have a route between the control server and the DB server; there would be no need for this article if such connectivity already existed!

    Now that the majority of the pieces that are needed are in place, let’s discuss the general steps needed in the Ansible script.

    • Create a simple sql file that can be executed via SQLPlus. This is done by adding the file name to the end of the SQLPlus invocation as mentioned ealier, i.e “sqlplus ‘user/pass@connection’ @myFile.sql”.
    • Copy the file to a location on the control server.
    • Create the tunnel.
    • Run the SQL script.
    • Destroy the tunnel.

    It’s necessary to first look at how this tunnel would be constructed outside of any Ansible framework, as eventually we will take those commands and work them into the Ansible playbook.

    The rough outline of the command appears as follows:

    A screenshot of a multi-line SSH command used to establish a tunnel with local port forwarding and a proxy command.

    The next table explains the breakdown of each piece of the command. (“ProxyCommand” is a bit more backwards compatible than using the “-J” or jumphost option, so it’s used for this example.) Also note that some of this extended command could be offloaded into the server’s ssh_config file, but as stated earlier, the intent of this article is to minimize the need to touch files that the executing user simply may not have access to modify.

    ParameterMeaning/Intent
    -iidentity or key file
    -fRequests ssh to go to background just before command execution. This is useful if ssh is going to ask for passwords or passphrases, but the user wants it in the background.
    -NDo not execute a remote command. This is useful for just forwarding ports.
    -LSpecifies that connections to the given TCP port or Unix socket on the local (client) host are to be forwarded to the given host and port, or Unix socket, on the remote side. (More to come on this topic.)
    -ooption ServerAliveInterval=20 – letting SSH know to send a packet to test for a response from the server every 20 seconds
    -oProxyCommand
    -q: quiet
    -i: identity or key file
    -W: Requests that standard input and output on the client be forwarded to host %h on port %p over the secure channel

    Use the following steps to create and run the tunnel scripts.

    • On the control server, create a SQL script file with the following content as shown. This script will simply show the server host variable as reported by the DB.

    Name this file “db_tunnel_test.sql” and save it in the control user’s home directory for simplicity.  Be sure to include the trailing slash as shown.

    Omitting the slash will cause SQLPlus to hang and the Ansible script will not complete.    

    An SQL script querying sys_context('USERENV', 'SERVER_HOST') to test database connectivity.
    • The actual playbook example itself is brief, as it’s intended as “conceptual” code, not “production” code. To preserve formatting, the following representative screen print of the file is provided.
    An Ansible playbook in YAML format showing variable definitions, tasks for creating an SSH tunnel and executing a database test script, and a handler for stopping the tunnel.
    • Name the file “playbook_tunnel_test.yml” and save it in a location on the control server.
    • Invoke the playbook with the appropriate inventory if the connection details are not defined within the playbook, i.e.

    “ansible-playbook -v -i inventories/inventory_prod.ini playbook_tunnel_test.yml”

    Note the following highlights in the script above:

    • The “vars” section could be expanded within the file or abstracted out into a separate file. Some items that would normally be stored in variables were shown directly in the file for clarity.
    • The “shell” command shown in the first task of the playbook uses a line continuation feature of Ansible to allow the presentation of a rather long line in a condensed fashion (“>”). At the end of each line of that specific invocation, there is a single space plus a carriage return, and Ansible will keep picking up the next line until it gets to a line without a trailing space. Pay attention to the indentation of each of the next line(s); they must line up with the first “s” of “ssh”, and do not use tabs.
    • In the “Executing simple DB test script” task, notice that the SQLPlus invocation is actually using environment variables for db user and db user password that are created and subsequently destroyed at the end of the task. This is done to avoid displaying username and password in the output when using “-v” or having the username and password printed in the logs. A “nolog” option can be added to the Ansible task definition, but that approach can be problematic when trying to debug. (There is a way to thwart this attempt at credentials obfuscation, but that topic is not the point of this article.)
    • Style-wise it is best practice to “add” the options/parameters for an Ansible module in indented fashion as shown, rather than name/value pairs as a single line. The playbook becomes longer but the playbook becomes much more readable.

    The following successful (and redacted) output is shown.

    A screenshot of the Ansible playbook execution output, showing the successful creation of the SSH tunnel, the result of the database connection test, and the stopping of the tunnel.

    Still banging your head on Ansible problems? Contact us for assistance using the form below.

    Disclaimer

    The intent of this article is a basic “how-to” that strives to simply illustrate a basic process. Please review the solution and add additional steps/checks/processes as applicable to your use case. This article is not intended as “production-ready” for any/all cases, but “bare bones” to cover the concept as concisely as possible for educational purposes.

  • I Want A Splunk SOAR Playbook! Now What? 

    I Want A Splunk SOAR Playbook! Now What? 

    By Marvin Martinez, Team Lead, Automation Engineering

    Security Orchestration, Automation, and Response, or SOAR for short, has added an entirely new world of capabilities to any company’s tool belt. The possibilities are seemingly endless. While that may sound like an all-out win/win situation, it doesn’t come without its considerations and potential pitfalls. Splunk SOAR is not immune to this. What do you develop first? More importantly, how do you design and develop your playbook(s)?

    Developing a playbook may seem like it is mostly a technical endeavor but there very much is a significant element of “art” behind it as well! Everything from what the catalyst for your playbook will be, what fields need to be passed into it, all the way to “will there be any outputs from it?” or “does my process even need a SOAR playbook?” has to be conceptualized before you even click the “+ Playbook” button, let alone drag your first playbook block into your Visual Playbook Editor (VPE).

    The first, and most important, question is “Do I need a playbook in the first place?”. Many times, you may not need a Splunk SOAR playbook to accomplish what you’re looking to do and may be able to fulfill your requirements with just a Splunk alert or something else entirely that can keep your process streamlined and not too complex. One key question that is usually useful and helping determing if a Splunk SOAR playbook is necessary is: “Are there various activities I need to achieve in sequence as part of this process and, if not, is the single action I need available within my current toolset?”. There is no need to externalize and expand your process if your current tool (i.e. Splunk, etc.) can already do it. For example, if all you need is an email when a specific incident type is generated, you could easily do that within Splunk with an alert and some clever SPL.

    Ok, so you’ve decided that automation playbooks are the only way to achieve what you want. How do we design it?

    Once you’ve decided that you do need to develop a playbook to meet your requirements, you now need to design the end-to-end solution for your playbook. The very nature of Splunk SOAR being versatile and powerful means that, almost by definition, your playbook solution development is a blank canvas but don’t feel daunted! Some key basic items to consider when designing your playbook are:

    • Trigger: What is the catalyst/trigger for my playbook?
    • Fields: Does my playbook need specific fields? If so, how will the playbook reference them?
    • Playbook actions and general workflow design: What is my playbook doing?

    There are much more than just these considerations when it comes to playbook design, but these are the 3 basic ones we try to work from to extrapolate into a robust Splunk SOAR playbook solution. Let’s explore them.

    Trigger

    Playbooks can be triggered in a myriad of ways. For example, you could have an automation playbook that is triggered automatically when a container/event is created in SOAR with a specific label (i.e. “Defender”). This is the most common method when developing playbooks. You could also develop an input playbook that is called as part of an entire playbook solution. Note that automation playbooks can be manually executed and can also programmatically call other playbooks (automation or input) but input playbooks can do neither.

    With this in mind, deciding what type of playbook you need to create will largely depend on your use case as well. Generally speaking, if your playbook will be triggered from a Splunk search or other container-creating method (Splunk App For SOAR Export, etc), you’ll need an automation playbook that will execute based on the label that comes in. Configure this in your Splunk search/SOAR app configuration and the triggering of your playbook is that simple! On the other hand, input playbooks are more useful as part of larger playbook solutions or for more “ad-hoc” type executions that you want to call repeatedly from different playbooks. Think more of an “Send Email” playbook that would take in various inputs (Subject, recipient, etc.) and send an email but also generate notes or comments and perform some common status updates or things like that along the way that you don’t want to keep developing over and over in different playbooks.

    Fields

    So, you know what type of playbook you’ll need and how you’ll kick it off, but what does it need to do its job? Generally, if you’re kicking off a playbook from a Splunk search, some things to consider passing along are things like Incident IDs or any other identifying information that your SOAR playbook might need to execute its actions. Things like email addresses, usernames, timestamps, and error codes or error messages are common things that get passed along because they will likely make it easy for the SOAR playbook to send emails or reach out to its app integrations to get additional details using those identifiers. These fields will be populated in the artifact that gets created in the SOAR event/container and the playbook can easily read the data from there. You want to be careful to pass in your fields in meaningful and considerate ways: keep the field names free of special characters other than underscores as Splunk SOAR has issues with special characters, notably periods (.)!

    Playbook Actions/Workflow Design

    So, your SOAR container is showing up with the appropriate label and the fields are in the artifact. What’s my playbook supposed to do and how should it do it? This is where “art” and “science” intersect! It’s usually best to go back to fundamentals and simply create a workflow of what your business process looks like and begin to “SOAR-ify” it from there. Keep in mind a couple of the key SOAR development principles:

    • Modularize as much as possible. Develop smaller playbooks that work together instead of big, bulky playbooks where many more things can go wrong and it’s harder to troubleshoot or re-execute without doing too many things over.
    • Try to keep custom code within playbooks to a minimum. Create custom functions that can be reused as much as possible. This helps you eliminate having random code snippets all over the place and begins to help you build a library of “helpers” that you can use efficiently and repeatedly in future developments.

    Let’s consider a small example use case. A customer has Microsoft Defender data coming into their Splunk environment and they want to create a container in SOAR for every unique incident ID that comes in. Once this event is generated in SOAR, their playbook solution needs to take the incident ID and gather additional details for the Incident ID using their defender integration (status, description, comments, etc) and then send an email with that information to a specific group of people based on a lookup in Splunk. Here’s what a sample workflow would look like:

    Linear Splunk SOAR playbook flowchart showing automation steps from container creation to sending an alert email.

    In this case, you could design and develop a single playbook that would use the Incident ID present in the artifact and execute an action with the Microsoft Defender app integration to gather the incident details. This information comes back in JSON format and can contain extraneous information that isn’t relevant so the customer could develop a custom function that would take that JSON payload and extract the pertinent information and format it in an HTML-friendly string to send the email. After this, the customer could execute a Splunk app action with an SPL query to retrieve the user email list. Now, having all the information necessary, the Send Email step in the workflow could easily be converted into an input playbook of its own that would have some inputs (Recipients, Subject, Body) and would be able to take those inputs, send the email using the SMTP app, update the status to “Closed”, and add a comment to the container with confirmation of the email being sent. Once the small input playbook is developed, simply take the output from the custom function to populate the Body input to Send Email and the output of the SPL query from the Splunk app integration to populate the Recipients input to the Send Email playbook. The Subject can be hardcoded or a formatted input as well.

    As you can see, even a somewhat straightforward use case still required some design thought, two separate playbooks, three separate apps (Defender, SMTP, Splunk) and a custom function (mostly as a best practice). But, it resulted in a seamless playbook that does exactly what the customer needs and can be easily customized in the future should something change (i.e. additional users to email or updates to “pertinent” information from the Defender incident) and an input playbook that can now be used in the future to send an email and close out a container.

    Splunk SOAR is immensely useful and powerful. Taking adequate time to conceptualize and think through how you want to leverage that power and capability can provide immense dividends downstream as you grow your playbook library along with other objects like custom functions, custom lists, etc. So, don’t feel overwhelmed, take your time and let SOAR automations simplify your business processes!

  • How VMware Pricing Strategy Differs from Broadcom’s Other Acquisitions

    How VMware Pricing Strategy Differs from Broadcom’s Other Acquisitions

    By Jonathan Stephan, Director, AWS Services East

    In the tech world, mergers and acquisitions are not uncommon occurrences. However, when it comes to Broadcom’s recent acquisition of VMware, the implications on pricing strategy have raised eyebrows in the industry. Let’s delve into how VMware’s pricing strategy differs from Broadcom’s other acquisitions and what it means for customers.

    Understanding Broadcom’s Acquisition Philosophy

    At the very heart of Broadcom’s identity is a strategy marked by profound ambition and a discerning eye for value. This approach has led Broadcom on a path of seeking out and integrating companies that stand as leaders within their sectors, companies that have carved out a niche for excellence and innovation. Broadcom’s acquisitions, such as those of CA Technologies and Symantec, are not just transactions but a testament to the company’s belief in harnessing the power of technology to forge new paths to growth and profitability.

    This strategy, while aggressive, is imbued with a sense of purpose and vision. Broadcom sees beyond the immediate; it envisages a future where the combined strengths of these acquisitions not only elevate the parent company but also nurture the growth and development of the technologies these acquired companies bring to the table. It’s a philosophy that cherishes the value of legacy and potential alike, aiming to create a synergistic effect that benefits not just the stakeholders but the broader tech ecosystem.

    However, it’s important to remember that this acquisition philosophy is not without its emotional complexities for the customers and employees of the acquired entities. There is an underlying concern about change, about the unknown, which is both natural and deeply human. Broadcom’s approach, while strategic and forward-looking, also carries the weight of these concerns, necessitating a balance between growth objectives and the need to honor the trust and loyalty of the customers and communities that have been pivotal to the success of the acquired companies.

    Understanding Broadcom’s acquisition philosophy thus offers a window into a strategy that is as much about technology and profitability as it is about vision and care. It’s a delicate balance, navigating the complexities of mergers and acquisitions with an eye not just on the bottom line but on the broader horizon of innovation and customer relationships.

    VMware’s Pricing Model Before Broadcom’s Acquisition

    Navigating through the world of IT infrastructure, VMware had long been a beacon of predictability and simplicity in its pricing model. This approach was akin to a comforting assurance in a sea of complexity, providing customers with a sense of stability and foresight in planning their technology investments. VMware’s pricing, known for its transparency, allowed businesses of all sizes to foresee their IT expenditures without fear of unexpected costs. It was this very predictability that fostered a relationship of trust between VMware and its users — a bond cemented through clarity and the shared understanding that planning for the future was as important to VMware as it was to its customers.

    The essence of VMware’s pricing model was built around the needs and concerns of its clientele. It acknowledged the importance of budgeting accuracy in the IT domain, offering a straightforward framework that alleviated the anxiety of hidden fees or convoluted licensing tiers. This customer-centric approach not only demystified IT budgeting but also empowered users with the knowledge and confidence to invest in VMware solutions, secure in the understanding that their investment was both sound and predictable.

    In essence, VMware’s approach before Broadcom’s acquisition was more than just about pricing; it was a reflection of a philosophy that valued customer trust and long-term partnership over short-term gains. It’s a legacy of transparency that has left many in the community watching with bated breath, hopeful that the values that once defined VMware’s pricing model will continue to shine through in this new chapter under Broadcom’s stewardship.

    The Broad Implications of Broadcom’s Acquisition on VMware Pricing

    As Broadcom takes the reins of VMware, a palpable sense of concern permeates the atmosphere among VMware’s loyal customer base. There’s an underlying worry that the pricing strategies that once made VMware a trusted partner could evolve in ways that might not favor their interests. This looming uncertainty stems from the speculation that Broadcom might implement pricing adjustments or modify licensing models, potentially leading to increased operational costs for existing customers.

    In the realm of business and technology, change is both inevitable and necessary for growth. However, when it comes to changes in pricing strategies, these adjustments carry a profound impact on the delicate relationship between service providers and their customers. The anxiety isn’t merely about numbers on a balance sheet; it’s about what these numbers represent — accessibility, fairness, and the ability for businesses to plan their futures in an already tumultuous landscape.

    Customers are rightfully concerned about maintaining the balance between the value they receive and the investments they must commit to continue benefiting from VMware’s solutions. The heart of these concerns lies in the potential for increased licensing costs, which could strain budgets and force businesses to make difficult decisions about their IT infrastructure. It’s a scenario that nobody looks forward to, as it brings into question the sustainability of long-term plans that were crafted with the original pricing models in mind.

    The broad implications of Broadcom’s acquisition extend beyond the immediate financial considerations. They touch on the essence of trust and mutual respect that has been cultivated over years. As the situation unfolds, the hope remains that Broadcom will navigate this transition with a deep understanding of the concerns and needs of VMware’s clientele. Embracing a strategy that considers the impact on customers will not only serve to uphold the integrity of VMware’s legacy but also reinforce the belief that in the world of technology, progress should not come at the cost of alienating those who have contributed to a company’s success.

    A Comparison of VMware and CA Technologies Post-Acquisition Strategies

    Exploring the journey of CA Technologies after its acquisition by Broadcom sheds light on potential paths that VMware’s pricing strategy might take, illuminating a landscape filled with both caution and hope. Broadcom, known for its strategic acquisitions, introduced notable changes in CA Technologies’ pricing model, adjustments that were met with a mixed reception from its longstanding customer base. These shifts, often seen as moves toward maximizing profitability, brought about an air of apprehension among CA Technologies’ clients, who feared that the essence of what made their partnership with CA so valuable might be at risk.

    In this delicate dance of transition, it’s essential to recognize the emotional fabric woven through the business relationships that both VMware and CA Technologies have nurtured over the years. The apprehension surrounding CA’s post-acquisition strategy mirrors the concerns now facing VMware’s loyal customers. The fear of the unknown, of potentially losing the transparent and predictable pricing model that has long been a cornerstone of VMware’s value proposition, is palpable.

    Yet, within this narrative of change, there exists an opportunity for Broadcom to pen a different story with VMware, one that honors the legacy of trust and partnership that VMware has established with its users. The comparison between VMware and CA Technologies in the post-acquisition phase is not just about pricing structures or licensing models; it’s about understanding the profound impact these strategies have on the human element of business — the hopes, the fears, and the trust of customers who have come to rely on these technologies to power their futures.

    As Broadcom charts its course with VMware, the lessons learned from CA Technologies’ integration could serve as valuable insights into fostering a pricing strategy that balances the need for growth and profitability with the genuine care and understanding of customer concerns. This delicate balance is not just good business — it’s a testament to the understanding that at the heart of technology, it’s the people, with their dreams and challenges, that truly matter.

    Broadcom’s Historical Approach to Symantec and its Reflection on VMware

    In the gentle ebb and flow of the tech industry, Broadcom’s acquisition of Symantec was a moment that caused many hearts to flutter with uncertainty. The apprehensions felt then resonate even now, as VMware embarks on a similar journey under Broadcom’s expansive wing. The experience of Symantec’s integration into Broadcom serves as a poignant chapter that VMware’s community observes with bated breath, hopeful yet cautious about the narrative that will unfold.

    Broadcom’s approach to Symantec was characterized by strategic shifts designed to streamline operations and focus on core products and profitability. This transition, while successful from a business standpoint, stirred a sea of emotions among Symantec’s clientele. Concerns about changes to pricing structures and the accessibility of vital services emerged, painting a picture of the intricate balance between a company’s growth and the loyalty and trust of its customers.

    This past chapter offers a mirror to the current sentiments surrounding VMware. The echoes of history bring forth a heartfelt empathy for those navigating the uncertainties of change. It’s a reminder that behind every corporate decision lies a community of individuals who rely on these technologies to drive their own futures. The reflection of Symantec’s journey is not just a tale of business strategies but a story of the human experiences intertwined with these changes.

    As VMware stands at the precipice of its new chapter with Broadcom, the collective hope is for a path that weaves together the lessons of the past with a deep respect for the relationships and trust built over the years. The reflection on Symantec’s integration into Broadcom shines a light on the importance of maintaining a delicate balance between evolving business strategies and nurturing the heartfelt connections that form the essence of true partnership and progress.

    The Heart of Customer Concerns: Licensing Costs and Accessibility

    Deeply woven into the fabric of these unfolding changes lies a shared concern that resonates with a powerful echo across VMware’s loyal community — the apprehension surrounding licensing costs and the accessibility of essential services. This concern is not merely a reflection of budgetary constraints but a profound testament to the value that VMware customers place on reliability and the ability to predict and manage their technological futures.

    As Broadcom charts a new course for VMware, it’s essential to understand that at the core of customer anxieties are the potential shifts in the landscape of licensing costs — a terrain that many have navigated with confidence in the past. The thought of navigating uncharted waters, where the familiar signposts of pricing and accessibility might no longer apply, brings with it a sense of vulnerability, a concern deeply felt by those who have built their IT infrastructure with VMware as its backbone.

    The question of accessibility extends beyond the reach of financial implications. It speaks to the ability of businesses, large and small, to harness the full potential of VMware’s offerings without being hindered by prohibitive costs or complex licensing models that could restrict innovation and growth. It’s a dialogue between the present and the future, a conversation imbued with hopes for a continuity of partnership and the preservation of a legacy that has empowered countless organizations to thrive in the digital age.

    Understanding these concerns requires more than a cursory acknowledgment; it demands a heartfelt commitment to empathizing with the emotions and aspirations of VMware’s customer base. It’s about recognizing the trust placed in VMware’s solutions and the earnest hope that, even amidst change, this trust will not only be honored but nurtured, ensuring that the path ahead is illuminated with the promise of accessibility, transparency, and shared growth.

    Broadcom’s Potential Strategy for VMware’s Future Growth

    In the unfolding of this new chapter for VMware under the stewardship of Broadcom, the contours of the future strategy are yet to be clearly defined. However, amidst the tides of change, there remains a fervent hope among the community that Broadcom will chart a course that not only seeks to amplify VMware’s technological prowess and market presence but also respects and cherishes the deep-seated values that have endeared VMware to its users. The potential strategy for VMware’s growth under Broadcom is envisioned with a careful consideration of the legacy that VMware carries — a legacy of innovation, customer centricity, and a commitment to making technology accessible and manageable for businesses of all sizes.

    At the heart of Broadcom’s strategic considerations might be the harmonization of growth objectives with a nurturing touch that understands the pulse of VMware’s dedicated user base. It involves a delicate balance, weaving together the threads of advanced technological development and market expansion, with the golden strands of trust, reliability, and affordability that have been the hallmark of VMware’s relationship with its customers.

    In navigating these waters, Broadcom could potentially focus on leveraging VMware’s strengths in cloud infrastructure and digital workspace technology, while also exploring new horizons that promise mutual growth and innovation. The strategy might unfold through a tapestry of initiatives aimed at fostering deeper integration of VMware’s offerings with Broadcom’s broader technology ecosystem, thus creating synergies that enhance value for both entities and, most importantly, for the customers who stand at the intersection of this transformation.

    As this journey progresses, the hope is that Broadcom will approach VMware’s future growth with a vision that embraces the essence of what has made VMware a trusted partner for countless organizations. A vision that recognizes the importance of continuity in the values and principles that define VMware, ensuring that as the landscape evolves, the trust and confidence of VMware’s community remain steadfast, guiding the way towards a future that is as promising as it is inclusive.

    How Changes in VMware Pricing Could Influence the Broader Market

    The prospect of changes in VMware pricing under Broadcom’s guidance opens up a new chapter not just for VMware and its dedicated user base, but for the entire tech landscape. This shift, marked by uncertainty and concern, could be a beacon for transformation across the broader market. It invites a period of reflection and adaptation, where competitors may find themselves reevaluating their own pricing structures to remain aligned with industry standards and customer expectations.

    In a space as interconnected as the tech industry, the ripple effects of VMware’s pricing strategy could extend far and wide. Competitors might see this as an opportunity to attract VMware customers who are searching for stability and predictability in their IT expenditures. This could lead to a more competitive environment, with companies striving to offer value propositions that emphasize not just cost-effectiveness but also transparency and customer loyalty. On the other hand, it could also prompt a deeper industry-wide introspection on pricing models and customer relationships, encouraging a shift towards more customer-centric approaches.

    For customers, this period of change may inspire a broader exploration of available options, leading to a more dynamic and varied IT ecosystem. As businesses consider their paths forward, the dialogue around pricing, value, and partnership becomes ever more critical. It’s a moment that calls for open communication, as companies and their tech partners navigate these waters together, seeking solutions that uphold the principles of accessibility, reliability, and mutual growth.

    In this evolving narrative, the enduring hope is that the core values that have defined relationships between technology providers and their users — trust, respect, and shared ambition — remain at the forefront, guiding decisions that shape the future of the tech industry.

    Navigating Your Next Steps: Tips for VMware Customers

    In these times of transition and uncertainty following Broadcom’s acquisition of VMware, it’s more important than ever for VMware customers to navigate this period with both vigilance and understanding. While the future of VMware’s pricing strategy remains an evolving story, here are a few heartfelt recommendations to help you stay ahead:

    Engage Directly with VMware

    Reach out to your VMware account manager or customer service representative. Having an open line of communication can provide you with the most current information and reassurance about the changes that might affect your services and pricing.

    Stay Informed

    Keep an eye on official announcements from VMware and Broadcom. Staying informed through official channels will help dispel rumors and ensure you’re getting accurate information directly from the source.

    Join Community Forums

    Engage with other VMware customers in community forums and social media groups. These platforms can offer support, insights, and shared experiences that may help you better understand and navigate any changes.

    Evaluate Your Current Setup

    Take this time to review your current VMware usage and infrastructure. Understanding where you can optimize or adjust can prepare you for potential changes in the pricing model, ensuring you’re using VMware’s solutions most effectively for your business needs.

    Consider Long-term Planning

    Though immediate changes may be concerning, think about your long-term technology strategy. How does VMware fit into your future plans? This broader perspective can help guide your decisions in a way that aligns with your company’s growth and technology goals.

    Approaching this period with a proactive and informed mindset will empower you, as a VMware customer, to make decisions that best serve the future of your business. Remember, change, though challenging, also brings opportunities for growth and adaptation.

    Looking Ahead: The Future of VMware under Broadcom

    As we peer into the horizon, the journey of VMware is at a pivotal moment, where the essence of this transition lies not just in the strategic maneuvers of corporate synergy but in the needs of every customer who has ever trusted VMware to be the backbone of their technological infrastructure. The dialogue around VMware’s future pricing strategies whispers of a delicate dance between sustaining innovation and nurturing the seeds of accessibility and customer trust. Does Broadcom see things the same way?

    It’s about more than just numbers; it’s about honoring a commitment that VMware has made to their customers. Your firm and your team are facing some big decisions. If you commit to preparation, research and expert consultation, the future is in your capable hands.

  • Get Granular with Risked Based Alerting (RBA)

    Get Granular with Risked Based Alerting (RBA)

    By David Cheever, Team Lead, Advanced Services

    Introduction to RBA

    Splunk’s Risk-Based alerting (RBA) equips security professionals to prioritize and respond to security incidents efficiently, helping them focus on mitigating the most substantial risks to the organization’s infrastructure and data. RBA aids in reducing alert fatigue, optimizing resource utilization, increasing fidelity, and strengthening the overall security posture by swiftly identifying high-priority threats.

    This blog does not intend to provide a comprehensive explanation of RBA, as there is an abundance of existing documentation available for that purpose. Instead, the focus of this blog is to outline a distinctive approach to RBA that has proven highly successful in our experience.

    Leveraging a Flexible Approach

    Often when crafting a risk-based search we find that the option to assign granular risk scores is not inherently available through the user interface. With the current version of Splunk Enterprise Security (version 7.3 at the time of this blog), you can assign one risk score per risk object when using “Adaptive Response Actions”.

    Risk-based alerting configuration panel assigning separate risk scores to user and system objects in Splunk.

    Figure 1

    In Figure 1, what if we wanted to assign different risk scores based on the “title” field from the alert? With how risk is currently assigned, both a system triggering a “malware in registry detected” event and a user initiating a “Remote Desktop session” event would obtain an identical risk score.

    One alternative is to create multiple correlation searches tailored for each specific use case, but this approach can quickly become hard to manage. An effective strategy we have found is utilizing lookups to assign risk scores. With this method adaptive response actions are not used and instead risk rule properties are included in the SPL. Below is a sample from a lookup with over 100 rows. Note the diversity in risk scores allocated to different risk objects based on the detection title.

    Table of risk events showing object types, risk scores, and detailed alert titles for user and system activities.

    Practical Example

    In order to provide a comprehensive understanding of the approach, this section aims to delve into a practical example. Specifically, we’ll explore a correlation search that effectively employs lookups to manage and assess risks within Microsoft Defender data. By dissecting this example, we will gain insight into how lookups are utilized in the context of risk assignment, offering a clearer understanding of their functionality and impact within RBA.

    First, we construct a query designed to examine the desired index/data. In this example, our attention is directed towards Antivirus data, with an emphasis on organizing outcomes by destination, title, and incident ID.

    index=epav title IN ("*") 
    | eval user_account=coalesce('entities{}.accountName', 
    'entities{}.userPrincipalName','devices{}.loggedOnUsers{}.accountName') 
    | stats values(severity) as severity earliest(_time) as FirstTime latest(_time) as LastTime 
    latest(investigationState) as investigationState latest(status) as status values(alertId) 
    as alertId values("entities{}.detectionStatus") as detection_status values(user_account) 
    as user_account values(body) as body values(entities{}.ipAddress) as ipAddress 
    values(entities{}.fileName) as fileName values("entities{}.filePath") as filePath 
    values("entities{}.sha1") as sha1 values("entities{}.registryKey") as registryKey by dest 
    title incidentId 

    Next, we reference a lookup which breaks down each event title and provides a risk score to the risk object(s). This lookup enables us to apply more specific risk scores instead of employing a universal approach.

    | lookup defender_risk_scores title OUTPUTNEW risk_score risk_object AS lookup_risk_object 
    | eval risk_object_type=case(lookup_risk_object="user", "user", lookup_risk_object="system","system",lookup_risk_object="user/system",mvappend("user","system")) 
    | mvexpand risk_object_type  
    | eval risk_object=case(risk_object_type="user", user_account, risk_object_type="system", dest) 
    | mvexpand risk_object 

    Finally, we identify supplementary fields utilized in risk notables, such as search_name and risk_message. Then we employ the collect command to transmit the data to the risk index.

    | eval search_name="Defender - Event Alert - Risk" 
    | eval risk_message= title + " (" + risk_object + ")" 
    | convert timeformat="%Y-%m-%dT%H:%M:%S" ctime(FirstTime)  
    | convert timeformat="%Y-%m-%dT%H:%M:%S" ctime(LastTime) 
    | fillnull value=NULL risk_score risk_object 
    | search status!="Resolved" AND NOT risk_object IN ("NULL") AND NOT risk_score IN ("NULL")  
    | collect index=risk 

    Practical Assessment

    This correlation search is used in our production environment and has significantly reduced unnecessary volume and increased fidelity. Prior to adopting this methodology, Defender data was not used to its full capacity simply because there were thousands of events per day. Each event looked worthy of investigation, but the reality is there was not enough time in the day to perform proper analysis on each individual Defender alert.

    By integrating a lookup to dynamically assign risk, notables are generated only when the risk threshold is exceeded. This approach has significantly enhanced accuracy and provides additional context for contributing events, thereby enhancing the overall investigative insight.

  • TekStream Security Bulletin: TellYouThePass Ransomware

    TekStream Security Bulletin: TellYouThePass Ransomware

    By Julian Bermudez, Senior Splunk Consultant

    Introduction

    On June 8th, 2024, the TellYouThePass ransomware gang began exploiting the recently patched CVE-2024-4577.

    This vulnerability for remote code execution in PHP has been exploited to deliver webshells and execute encryptor payloads on exposed devices.

    Imperva researchers have determined that the bug is using the Windows mshta.exe binary to execute arbitrary PHP code to run malicious HTML app files.

    In short, it has been stated that the vulnerability can be seen being exploited with the following chain of events:

    1. The Windows mshta.exe binary contains a VBScript that loads a .NET variant of the ransomware into memory.
    2. The malware then fires off an HTTP request to what is perceived to be a CSS resource but is actually a command-and-control server that encrypts files on the target host.
    3. The final step is to place a README ransom note with instructions on how to recover data.

    Additional details can be found here: BleepingComputer Post about the PHP Exploit

    Mitigation Strategies

    The vulnerability has been acknowledged by WatchTowr Labs and they have suggested various mitigation steps to prevent its exploitation.

    These steps include:

    1. Immediately patching PHP installations with the patched versions 8.1.29, 8.2.20, and 8.3.8.
    2. For servers that cannot be quickly upgraded, there are temporary mitigation steps that can be taken such as alerting Apache rewrite rules or disabling the PHP-CGI feature. Steps for this potential remediation can be found here: Remediation Steps

    This is not a blog post to fully explain or give recommendations on remediating the vulnerability, this has been discussed at length by various resources such as:

    GitHub Link with CVE details

    DEVCORE blog post about CVE-2024-4577

    Detection with Splunk

    So far, we have seen many good detection options and would like to present a few more specific cases using everyone’s favorite SIEM Splunk.  

    The goal here is to aggregate the detections to maximize your chances of detecting this critical attack. A part of that is gathering the list of IOCs scattered in multiple locations on the internet and looking at activity that could point to the CVE-2024-4577 vulnerability being exploited. Here at TekStream, we have several security engineers that are intimate with cybersecurity knowledge and especially the logs of our clients.

    We go through the various steps in CVE-2024-4577 vulnerability exploitation and detection. With this format, we are providing a more generic data model “tstats” command. This is taking advantage of the data model to quickly find data that may match our IOC list. We then provide examples of a more specific search that will add context to the first find. There will be a wide variety of specific searches as each client has their own specific technologies. To get help building detection for your specific client, fill in the form below and get access to our Splunk/security expertise.

    Note: The follow-up of the initial access attack is normally the execution of a specific script that establishes a connection to a rogue server. Detecting this part is not covered in this blog post. Reach out to TekStream by filling out the form below if you’d like specific guidance on that aspect.

    The following detection steps mirror the stages and TTP-related indicators used in the attack:

    1. Detect initial malicious file spawning: mshta.exe
    2. Search for potential beaconing web traffic containing specific parameters.
    3. Detect ancillary signs of malicious script activity: VBScript
    4. Persistent malicious file install.
    5. Detect data exfiltration.
    6. Scan for related known malicious IPs.
    7. Scan for related known malicious web domain.

    SPL

    LEVERAGING ENDPOINT DATA TO SEARCH FOR MALICIOUS FILES (EDR, AV, OS, etc.)

    | tstats `summariesonly` latest(_time) as _time, 
    latest(Filesystem.file_create_time) as file_create_time, 
    latest(Filesystem.file_modify_time) as file_modify_time, 
    latest(Filesystem.file_access_time) as file_access_time, values(Filesystem.dest) as 
    dest, values(Filesystem.action) as action, values(Filesystem.file_name) as 
    file_name, values(Filesystem.file_hash) as file_hash, values(Filesystem.file_path) 
    as file_path, values(Filesystem.file_size) as file_size from 
    datamodel="Endpoint"."Filesystem" where (Filesystem.file_name = "* mshta.exe" 
    OR Filesystem.file_name = "* d.hta") by Filesystem.src | fields _time, dest, action, 
    file_name, file_hash, file_path, file_size, file_create_time, file_modify_time, 
    file_access_time | fieldformat Time = strftime(_time,"%m/%d/%Y %T")

    LEVERAGING ENDPOINT DATA TO SEARCH FOR MALICIOUS HASH (EDR, AV, OS, etc.)

    | tstats `summariesonly` latest(_time) as _time, values(Processes.user) as user, 
    values(Processes.process) as process, latest(Processes.parent_process) as 
    parent_process, latest(Processes.parent_process_exec) as parent_process_exec, 
    latest(Processes.parent_process_guid) as parent_process_guid, 
    latest(Processes.parent_process_id) as parent_process_id, 
    latest(Processes.parent_process_path) as parent_process_path, 
    latest(Processes.process_path) as process_path, latest(Processes.process_exec) 
    as process_exec, latest(Processes.process_guid) as process_guid, 
    latest(Processes.process_id) as process_id, latest(Processes.process_hash) as 
    process_hash from datamodel="Endpoint"."Processes" where 
    (Processes.process_hash IN(
    “9562AD2C173B107A2BAA7A4986825B52E881A935DEB4356BF8B80B1EC6D41C53”,
    “5a2b9ddddea96f21d905036761ab27627bd6db4f5973b006f1e39d4acb04a618”,
    “95279881525d4ed4ce25777bb967ab87659e7f72235b76f9530456b48a00bac3”) 
    by Processes.dest, Processes.process_name, Processes.parent_process_name | 
    head 10000 | `drop_dm_object_name("Processes")` | fields _time, dest, user, 
    process_name, process, process_hash, process_path, process_exec, process_id, 
    process_guid, parent_process, parent_process_name, parent_process_path, 
    parent_process_exec, parent_process_guid, parent_process_id

    LEVERAGING NETWORK TRAFFIC DATA TO DETECT MALICIOUS CONNECTIONS (Firewall, IDS/IPS, DNS, etc.)

    | tstats `summariesonly` values(_time) as _time, sum("All_Traffic.bytes") as bytes, 
    values("All_Traffic.src_port") as src_port, values("All_Traffic.transport") as 
    transport, values("All_Traffic.dest_port") as dest_port from 
    datamodel="Network_Traffic"."All_Traffic", values("All_Traffic.action") as action 
    where All_Traffic.src="88.218.76.13” AND All_Traffic.action !=blocked AND 
    All_Traffic.dest_category !=internal AND All_Traffic.bytes > 1000  by  "All_Traffic.dest" , "All_Traffic.user", "All_Traffic.src", _time span=1h
    | rename "All_Traffic.dest" as dest, "All_Traffic.user" as user, "All_Traffic.src" as 
    src
    | table_time, action, src, src_port, dest, transport, dest_port, user, bytes
    | fieldformat Time = strftime(_time,"%m/%d/%Y %T")
    

    LEVERAGING AUTH DATA TO ATTEMPT TO DETECT UNAUTHORIZED ACCESS (OS, MFA/SSO, application, etc.)

    | tstats `summariesonly` latest(_time) as _time, 
    values(Authentication.src_user_id) as src_user_id, 
    values(Authentication.src_user_role) as src_user_role, 
    values(Authentication.user_id) as user_id, values(Authentication.user_role) as 
    user_role, values(Authentication.vendor_account) as vendor_account, 
    values(Authentication.authentication_method) as authentication_method from 
    datamodel="Authentication"."Authentication" where 
    (Authentication.src="88.218.76.13" OR Authentication.dest="88.218.76.13") by 
    "Authentication.action", "Authentication.app", "Authentication.src", 
    "Authentication.src_user", "Authentication.dest", "Authentication.user" 
    | head 10000 
    | `drop_dm_object_name("Authentication")` 
    | fields _time, action, app, src, src_user, src_user_id, src_user_role, dest, user, 
    user_id, user_role, vendor_account, authentication_method
    
    

    LEVERAGING WEB DATA TO DETECT MALICIOUS URLs (Firewall, Proxy, DNS, etc.)

    Note: replace hxxp with http when searching. This search shows hxxp to prevent an accidental click.

    | tstats `summariesonly` sum("Web.bytes") as 
    bytes,values("Web.http_content_type") as 
    http_content_type,values("Web.http_method") as 
    http_method,values("Web.http_user_agent") as 
    http_user_agent,values("Web.status") as status from datamodel="Web"."Web" 
    where Web.url IN (“hxxp://88.218.76.13/dd3.hta”) by "Web.src", "Web.dest", 
    "Web.user", "Web.http_referrer", "Web.url", _time | 
    `drop_dm_object_name("Web")` | fields _time src, dest, user, http_referrer, url, 
    http_content_type, http_method, http_user_agent, status, bytes | eval ip_pair = 
    src . " - " . dest | stats values(_time) as Time values(ip_pair) AS src_dest, 
    values(user) as user, values(http_referrer) as http_referrer, 
    values(http_user_agent) as http_user_agent, values(http_method) as 
    http_method, values(status) as status, values(bytes) as bytes count by url| 
    fieldformat Time = strftime(Time,"%m/%d/%Y %T")

    IoCs

    URL: hxxp:/88.218.76[.]13/dd3.hta

    C2 IP: 88.218.76[.]13

    Hash (HTA sample): 95279881525d4ed4ce25777bb967ab87659e7f72235b76f9530456b48a00bac3

    Hash (HTA sample): 5a2b9ddddea96f21d905036761ab27627bd6db4f5973b006f1e39d4acb04a618

    Hash Extracted .NET binary: 9562AD2C173B107A2BAA7A4986825B52E881A935DEB4356BF8B80B1EC6D41C53

    Bitcoin Wallet address: bc1qnuxx83nd4keeegrumtnu8kup8g02yzgff6z53l

    Conclusion

    Ideally, you could make scheduled searches like what is shown above with lookup tables for matching more specific and new detections. These can be set to run on a continuous schedule to ensure the monitoring of your assets from new vulnerabilities. For questions on how to build such a process that is dynamic and customizable for your environment, ask one of our consultants by filling in the form below. Also, subscribe to the TekStream blog to catch the next monthly security bulletin and apply the latest detections to protect your systems. Happy Splunking!

    References

    Articles referenced and used for this Blog Post:

    Disclaimer

    The approaches recommended herein have not been tested broadly across the TekStream customer base. They are preliminary in nature and come without any certification of efficacy.

    Purpose of TekStream Security Bulletins

    With the TekStream Security Bulletin, we are presenting some specific detection use cases using everyone’s favorite SIEM, Splunk. We’ve cherry-picked vulnerabilities that are not only intriguing but also directly impactful for our valued clients. These vulnerabilities were chosen based on a multitude of factors, ranging from the technology in the crosshairs to the specific sectors being targeted. This is not a blog post to fully explain or give recommendations on remediating the vulnerability or exploit – this has been discussed at length by various resources. The goal here is to aggregate the detections to maximize your chances of detecting an attempt to exploit these vulnerabilities. A part of that is gathering the list of IOCs scattered in multiple locations on the internet and looking at activity that could point to the vulnerability being exploited. Here at TekStream, we have an amazing team of cybersecurity engineers armed with a deep knowledge of logs and the secrets they hold, ready to fortify your cyber resiliency.

  • TekStream Security Bulletin: A Clear Path to Detecting Fog Ransomware

    TekStream Security Bulletin: A Clear Path to Detecting Fog Ransomware

    By David Cheever, Team Lead, Advance Services

    Introduction

    Fog is a new ransomware variant that encrypts files and appends a “.fog” or “.flocked” extension to them. The attackers behind Fog have exploited compromised virtual private network (VPN) credentials to deploy their ransomware. Their primary targets are educational institutions across the United States, with 80% of victims from the education sector and the remaining 20% from the recreation sector.

    The attackers appear financially motivated, focusing on quickly encrypting data without exfiltrating information. After encrypting the files, Fog leaves a ransom note in the form of a text file called “readme.txt”. This highlights the necessity of secure off-site backups and a robust, multi-layered security strategy to promptly detect and mitigate such threats. This bulletin provides a method of detecting Fog Ransomware using Splunk.

    Indicators of Compromise (IoCs) of Fog Ransomware

    TypeIndicator
    Hashes617d79c02ebac68b613d5b7cdbf001fd
    f7c8c60172f9ae4dab9f61c28ccae7084da90a06
    507b26054319ff31f275ba44ddc9d2b5037bd295
    e1fb7d15408988df39a80b8939972f7843f0e785
    83f00af43df650fda2c5b4a04a7b31790a8ad4cf
    44a76b9546427627a8d88a650c1bed3f1cc0278c
    eeafa71946e81d8fe5ebf6be53e83a84dcca50ba
    763499b37aacd317e7d2f512872f9ed719aacae1
    3477a173e2c1005a81d042802ab0f22cc12a4d55
    90be89524b72f330e49017a11e7b8a257f975e9a
    e11e7db705a11f8ca250d8d6826371e550b3214757f5bb9b648c7b0fad09294b
    8b9c7d2554fe315199fae656448dc193accbec162d4afff3f204ce2346507a8a
    d0c1662ce239e4d288048c0e3324ec52962f6ddda77da0cb7af9c1d9c2f1e2eb
    e67260804526323484f564eebeb6c99ed021b960b899ff788aed85bb7a9d75c3
    HostnamesDESKTOP-7G1IC87
    Kali
    VPS65CCB8B75352
    PACKERP-VUDV41R
    File Names*.flocked
    *.fog
    readme.txt
    DBgLog.sys
    Veeam-Get-Creds.ps1
    psexesvc.exe
    netscan.exe
    lck.exe
    locker_out.exe
    fs.exe
    locker_out.exe
    mon.dll
    advanced_port_scanner.exe
    advanced_port_scanner_2.5.3869.exe
    sharpshares(1).exe
    IP Addresses5[.]230[.]33[.]176
    77[.]247[.]126[.]200
    107[.]161[.]50[.]26

    Leveraging Enterprise Security’s Threat Intelligence Framework

    Uploading Threat Intelligence hinges significantly on correctly formatting your CSV file. The framework requires specific header field values to be utilized, ensuring the CSV contains the necessary columns and headers for effective threat matching. Prior to uploading, ensure IP addresses are stripped of brackets added for inadvertent navigation protection.

    To begin, navigate to Enterprise Security -> Configure -> Data Enrichment -> Threat Intelligence Management -> Sources. From here, select “New” to upload the below CSV file containing relevant Fog IoCs.

    <Fog_Ransomware_IoCs.csv>

    After uploading, navigate to Security Intelligence -> Threat Intelligence -> Threat Artifacts to view your uploaded values in the Threat Overview section. Filter for Fog_Ransomware_IoCs under Threat Group to confirm successful updates for both endpoint and network artifacts.

    Matches identified through various Threat Gen searches populate the threat_activity index and tag events for the Threat Intelligence data model, which security analysts can review on the Threat Activity dashboard. Notable events are generated by the Threat Activity Detected correlation search based on matches from threat sources, which in turn adjust risk scores for relevant assets and identities. Analysts can review these notable events on the Incident Review dashboard, alongside the updated risk scores displayed on the Risk Analysis dashboard.

    Detecting Fog with Data Models

    If you do not have Enterprise Security, you can still generate searches to detect these IoCs using standard data models, which are beneficial since they normalize fields across different data sources. Various data models may exhibit these IoCs; below are two excellent starting points:

    Network Traffic DM -The Network Traffic data model monitors flows of data across network infrastructure components.

    | tstats `summariesonly` latest(_time) as _time, values(All_Traffic.user) as user, sum("All_Traffic.bytes") as bytes, values("All_Traffic.src_port") as src_port, values("All_Traffic.transport") as transport, values("All_Traffic.dest_port") as dest_port from datamodel="Network_Traffic"."All_Traffic" where All_Traffic.src IN ("5[.]230[.]33[.]176","77[.]247[.]126[.]200","107[.]161[.]50[.]26") OR All_Traffic.src_ip IN ("5[.]230[.]33[.]176","77[.]247[.]126[.]200","107[.]161[.]50[.]26") OR All_Traffic.dest IN ("5[.]230[.]33[.]176","77[.]247[.]126[.]200","107[.]161[.]50[.]26") OR All_Traffic.dest_ip IN ("5[.]230[.]33[.]176","77[.]247[.]126[.]200","107[.]161[.]50[.]26") ```remember to remove brackets between octets``` by All_Traffic.action All_Traffic.src_ip All_Traffic.dest_ip
    | `drop_dm_object_name("All_Traffic")`

    Endpoint DM -The Endpoint data model monitors endpoint clients, such as end user machines, laptops, and BYOD devices.

    | tstats `summariesonly` latest(_time) as _time, latest(Filesystem.file_create_time) as file_create_time, latest(Filesystem.file_modify_time) as file_modify_time, latest(Filesystem.file_access_time) as file_access_time, values(Filesystem.action) as action, values(Filesystem.file_name) as file_name, values(Filesystem.file_hash) as file_hash, values(Filesystem.file_path) as file_path, values(Filesystem.file_size) as file_size from datamodel="Endpoint"."Filesystem" where Filesystem.file_name IN ("readme.txt","DBgLog.sys","Veeam-Get-Creds.ps1","psexesvc.exe","netscan.exe","lck.exe","locker_out.exe","fs.exe","mon.dll","advanced_port_scanner.exe","advanced_port_scanner_2.5.3869.exe","sharpshares(1).exe","*.flocked","*.fog") OR Filesystem.file_hash IN ("f7c8c60172f9ae4dab9f61c28ccae7084da90a06","507b26054319ff31f275ba44ddc9d2b5037bd295","e1fb7d15408988df39a80b8939972f7843f0e785","83f00af43df650fda2c5b4a04a7b31790a8ad4cf","44a76b9546427627a8d88a650c1bed3f1cc0278c","eeafa71946e81d8fe5ebf6be53e83a84dcca50ba","763499b37aacd317e7d2f512872f9ed719aacae1","3477a173e2c1005a81d042802ab0f22cc12a4d55","90be89524b72f330e49017a11e7b8a257f975e9a","e11e7db705a11f8ca250d8d6826371e550b3214757f5bb9b648c7b0fad09294b","8b9c7d2554fe315199fae656448dc193accbec162d4afff3f204ce2346507a8a","d0c1662ce239e4d288048c0e3324ec52962f6ddda77da0cb7af9c1d9c2f1e2eb","e67260804526323484f564eebeb6c99ed021b960b899ff788aed85bb7a9d75c3","617d79c02ebac68b613d5b7cdbf001fd") by Filesystem.dest

    Recommendations

    To enhance your organization’s security posture, begin by ensuring all threat indicators are effectively blocked through appropriate controls. Utilize your security tools to actively search for IoCs within your environment and maintain strong cyber hygiene practices by regularly updating anti-virus software and implementing a comprehensive patch management lifecycle.

    Additionally, enhance access security by implementing two-factor authentication across all relevant systems. In the event of a ransomware attack, protect against data loss by maintaining offline, encrypted backups which are regularly tested for recovery effectiveness.  Exercise caution with emails from unfamiliar sources, as they can often serve as entry points for malicious actors. By adopting these practices, you can significantly enhance your organization’s resilience against ransomware and other cyber threats.

    Disclaimer

    The approaches recommended herein have not been tested broadly across the TekStream customer base. They are preliminary in nature and come without any certification of efficacy.

    Purpose of TekStream Security Bulletins

    With the TekStream Security Bulletin, we are presenting some specific detection use cases using everyone’s favorite SIEM, Splunk. We’ve cherry-picked vulnerabilities that are not only intriguing but also directly impactful for our valued clients. These vulnerabilities were chosen based on a multitude of factors, ranging from the technology in the crosshairs to the specific sectors being targeted. This is not a blog post to fully explain or give recommendations on remediating the vulnerability or exploit – this has been discussed at length by various resources. The goal here is to aggregate the detections to maximize your chances of detecting an attempt to exploit these vulnerabilities. A part of that is gathering the list of IOCs scattered in multiple locations on the internet and looking at activity that could point to the vulnerability being exploited. Here at TekStream, we have an amazing team of cybersecurity engineers armed with a deep knowledge of logs and the secrets they hold, ready to fortify your cyber resiliency.

  • Whole-of-State Cybersecurity: Addressing Your SOC Management Concerns

    Whole-of-State Cybersecurity: Addressing Your SOC Management Concerns

    Stay Protected with Public Sector Cybersecurity Solutions  

    With the rise of cyber threats targeting government entities, a comprehensive and proactive approach to cybersecurity is more important than ever. Whole-of-State cybersecurity is a concept that focuses on the collective security of a state’s systems and data, emphasizing collaboration and information sharing across government agencies. In this blog post, we will explore the benefits of whole-of-state cybersecurity and how Leveraging their deep expertise in cloud services, enterprise architecture and specialized recruitment, TekStream ensures seamless integration of cutting-edge technologies to bolster security frameworks. By partnering with TekStream, government agencies gain not only robust protection but also enhanced operational agility and cost efficiencies, crucial for navigating today’s digital landscape.

    Start your research here: Public Sector IT solutions 

    Why Whole-of-State Cybersecurity?

    The landscape of cyber threats is ever shifting, pushing the boundaries of traditional security measures and demanding a more unified, strategic response. Whole-of-State cybersecurity emerges as a critical paradigm, emphasizing an approach where collaboration and shared intelligence form the linchpin of defense. It’s a strategy that recognizes the interconnectedness of public sector entities and the cumulative strength derived from this unity. The integration of efforts across various government levels not only amplifies the effectiveness of cybersecurity measures but also ensures a more resilient infrastructure against the sophisticated threats that now typify the digital age. 

    The latest data underscores a surge in cyber adversities, making it abundantly clear that a fragmented approach is no longer practical. The collective endeavor of Whole-of-State cybersecurity is not just a strategic move; it’s a necessary evolution to navigate and neutralize the complex web of cyber threats, safeguarding sensitive information and public trust in a world where digital realms are increasingly contested battlefields. 

    A Comprehensive, Whole-of-State Approach

    TekStream’s bespoke cybersecurity solutions offer a blueprint for public sector entities aiming to fortify their digital protection with a whole-of-state methodology. This approach encompasses an array of services designed to enhance the cybersecurity landscape comprehensively. From an initial security assessment that offers a clear view of vulnerabilities and strategic gaps, to implementing robust MDR – managed detection and response – systems that act as the digital immune system against threats, our offerings are a testament to a tailored, forward-thinking cybersecurity strategy. Leveraging innovative technologies and methodologies, including the strategic use of Splunk and Cisco for deep security insights and optimization, TekStream ensures that every facet of public sector cybersecurity is not just covered but optimized for resilience and adaptability. The holistic strategy extends to ensuring compliance with critical frameworks like CMMC, safeguarding not just data but the very continuity and trust in public sector operations. Through a harmonized, strategic partnership, TekStream propels public sector entities towards achieving a fortified, responsive, and integrated cybersecurity posture, ready to meet the demands of today’s digital challenges and beyond. 

    Discover TekStream Whole of State solutions 

    Security Assessment: The Foundation of Proactive Security

    Embarking on the journey to a fortified cybersecurity posture begins with a TekStream Security Assessment. This crucial first step delves into the heart of your organization’s security framework, scrutinizing the architecture, tools and procedures that form your current defenses. It’s a process designed not just to highlight vulnerabilities but to map out a strategic course towards a robust security protocol. TekStream’s approach is deeply interactive, engaging stakeholders in a collaborative exploration of their security landscape. The outcome? A comprehensive blueprint tailored to guide your cybersecurity endeavors, meticulously prioritized to tackle risks of the highest concern with precision. Engaging in this assessment is more than a procedural necessity; it’s a strategic pivot towards building a security stance that’s as resilient as it is responsive, setting the stage for a future where your public sector organization can navigate the digital domain with confidence and clarity. 

    Security Assessment: begin here 

    Managed Detection and Response

    Navigating the labyrinthine world of cyber threats requires more than passive defenses; it demands a vigilant, adaptive strategy. This is where TekStream’s MDR – Managed Detection and Response – service comes into play, offering a beacon of proactive surveillance in the murky waters of cyber threats. With a focus on early detection and rapid response, this service empowers public sector organizations with the capability to not only find but also neutralize threats before they escalate into full-blown crises. Utilizing a sophisticated blend of technology and expertise, TekStream’s team is always at the ready, monitoring systems around the clock for signs of intrusion or abnormal activity. This vigilant watch ensures that threats are not merely detected but are actively contested with strategic, informed responses. In a realm where cyber adversaries constantly evolve their tactics, having TekStream’s Managed Detection and Response at your side is akin to fortifying your digital domains with an elite guard, poised to counteract the specters of cyber threats with unmatched precision and agility. 

    Managed Detection and Response: Read More 

    Managed Security Service Provider (MSSP)

    Leveraging TekStream as your Managed Security Service Provider propels your public sector operations into a new echelon of cyber vigilance and operational efficiency. The essence of this partnership lies in offloading the intricate web of security monitoring and management, enabling your internal IT forces to pivot towards strategic initiatives that drive your mission forward. TekStream’s MSSP framework is engineered to provide an unwavering digital watchtower, orchestrating 24/7 threat detection, real-time incident response, and profound security analytics. This continuous surveillance blanket ensures that potential cyber threats are identified and neutralized with surgical precision, maintaining the integrity and continuity of your critical operations. By integrating TekStream’s MSSP services, government agencies embrace a dynamic shield, meticulously crafted to counter the evolving cyber threat landscape while fostering an environment where innovation and public service can flourish unimpeded by the specters of digital risks. 

    Splunk and Cisco Security Optimization

    Splunk and Cisco emerge as cornerstone technology in the realm of cybersecurity, offering unparalleled insights into the security ecosystem of public sector organizations. Through meticulous optimization by TekStream, Splunk and Cisco transcend their role as mere tools, becoming pivotal assets in the strategic arsenal against cyber threats. This level of optimization ensures that anomalies do not merely signal alarms but become gateways to actionable intelligence, enabling rapid, informed decisions in the face of potential security incidents.  

    The brilliance of integrating Splunk and Cisco into cybersecurity endeavors lies in its ability to sift through vast oceans of data, identifying the critical signals amidst the noise. TekStream’s adept implementation harnesses this capability, transforming raw data into a clear narrative that outlines both threats and opportunities within the security landscape. It’s about making the invisible visible, bringing shadowy cyber threats into the light where they can be confronted with precision and agility. 

    Moreover, the strategic use of technology facilitates a proactive security posture. It’s not just about responding to threats but expecting them, crafting a security environment where potential vulnerabilities are addressed before they can be exploited. In a domain where timing is everything, this proactive approach—powered by Splunk’s deep analytical capabilities—provides the edge that public sector entities need to stay one step ahead in the cybersecurity game. 

    Security Optimization 

    CMMC Compliance

    Navigating the complex landscape of cybersecurity compliance, particularly for defense contractors, demands a meticulous and informed approach. This is where CMMC (Cybersecurity Maturity Model Certification) compliance becomes pivotal. TekStream’s aid in this critical area ensures that organizations are not merely compliant but are fortified bastions of security in the defense sector. Through a detailed process that assesses, identifies and remediates gaps in cybersecurity practices, TekStream’s guidance is instrumental in steering organizations toward not just meeting, but exceeding the rigorous standards set forth by the Department of Defense. 

    Engaging with TekStream on the path to CMMC compliance is to embark on a journey of strategic enhancement of your cybersecurity framework. It’s a proactive step towards building a resilient security posture that can withstand the evolving threats in the digital domain. TekStream leverages its deep industry knowledge and technical expertise to navigate the intricate requirements of CMMC, ensuring that every aspect of your cybersecurity measures is aligned with the highest standards of security and compliance. This focused approach not only safeguards sensitive information but also solidifies your standing as a trusted, secure partner in the defense sector, poised to meet the challenges of today and anticipate those of tomorrow. 

    CMMC Compliance Certification Guide 

    TekStream: Your Public Sector IT Solutions Provider

    TekStream stands at the forefront of redefining IT solutions within the public sector, offering a partnership that extends beyond mere service provision to become a keystone in the edifice of government cybersecurity efforts. With an arsenal of customized solutions, TekStream meets the distinct demands of public sector operations. This synergy of deep industry insights and innovative technological acumen enables TekStream to craft strategies that not only address the immediate challenges but also pave the way for enduring security and resilience. Embracing TekStream’s comprehensive suite of services, government entities are equipped to navigate the digital terrain with an unmatched level of protection, efficiency, and foresight. The partnership with TekStream transforms the complex web of cybersecurity into a structured, manageable framework, empowering public sector agencies to leverage their IT infrastructure as a catalyst for growth, innovation, and fortified security. In the dynamic landscape of cybersecurity, TekStream emerges as a beacon of clarity, guiding public entities through the tumultuous waters of digital threats towards a horizon of security, stability, and success. 

    Explore how public sector challenges can be transformed into opportunities for growth and enhanced security 

  • Evaluating a Move from VMware to AWS: A Comprehensive Guide

    Evaluating a Move from VMware to AWS: A Comprehensive Guide

    By Jonathan Stephan, Director, AWS East

    The decision to migrate from VMware to Amazon Web Services (AWS) is significant and multifaceted. Whether you are seeking cost savings, improved scalability, or enhanced disaster recovery capabilities, moving to AWS can offer substantial benefits. However, it is essential to evaluate this transition carefully to ensure it aligns with your organization’s goals and infrastructure needs. Here’s a comprehensive guide to help you evaluate a move from VMware to AWS.

    Understanding Your Current VMware Environment

    Before considering the migration, it’s crucial to have a thorough understanding of your existing VMware environment. This involves:

    1. Inventory Assessment**: Conduct an inventory of your virtual machines (VMs), storage, network configurations, and applications running on VMware. This will help you understand what resources need to be migrated.
    2. Performance Metrics**: Gather performance data on your current VMs, including CPU, memory, storage usage, and network traffic. This information is vital to size your AWS instances correctly.
    3. Dependency Mapping**: Identify dependencies between applications and services. Understanding these interdependencies will help in planning the migration phases and avoiding downtime.
    4. Licensing and Contracts**: Review your VMware licensing and existing contracts to understand any potential penalties or obligations.

    Defining Your Objectives

    Clearly define what you aim to achieve with this migration. Common objectives include:

    1. Cost Reduction: Evaluate if moving to AWS will reduce your operational costs in terms of hardware, maintenance, and energy consumption.
    2. Scalability: AWS offers extensive scalability options. Consider if your organization needs to scale up or down based on demand.
    3. Disaster Recovery and Business Continuity: AWS provides robust disaster recovery solutions. Determine if this aligns with your business continuity plans.
    4. Innovation and Agility: Assess whether AWS services can accelerate your ability to innovate and respond to market changes.

    Cost Analysis

    One of the critical factors in moving to AWS is understanding the cost implications. AWS provides a variety of pricing models, including pay-as-you-go, reserved instances, and spot instances. Conduct a detailed cost analysis by:

    1. Using AWS Pricing Calculator: This tool helps estimate the cost of running your VMware workloads on AWS.
    2. Comparing TCO: Compare the Total Cost of Ownership (TCO) of running your infrastructure on VMware versus AWS over a specific period.
    3. Considering Hidden Costs: Account for potential hidden costs such as data transfer fees, training for your IT staff, and any third-party tools needed for migration.

    Migration Strategy

    Selecting the right migration strategy is pivotal. AWS offers several migration paths, including:

    1. Lift and Shift (Rehosting): This involves moving your applications to AWS without any significant changes. It is the quickest method but may not leverage all AWS benefits.
    2. Replatforming: Making a few cloud optimizations without changing the core architecture of your applications. For example, moving from a traditional database to Amazon RDS.
    3. Refactoring (Re-architecting)**: This involves reimagining how your applications are architected and developed, using AWS-native services. It offers the most significant benefits but requires the most effort.
    4. Hybrid Approach: Combining on-premises VMware with AWS cloud solutions, allowing for gradual migration.

    Assessing Risks

    Identify and mitigate potential risks associated with the migration, such as:

    1. Downtime: Plan the migration to minimize downtime. Consider conducting migrations during off-peak hours.
    2. Data Integrity and Security: Ensure data integrity and security during the migration process. Use encryption and secure transfer protocols.
    3. Compliance: Ensure your migration strategy complies with industry regulations and standards.

    Testing and Validation

    Before fully migrating, it’s crucial to conduct thorough testing:

    1. Pilot Migration: Start with a small set of workloads to validate your migration plan.
    2. Performance Testing: Ensure that the migrated workloads meet your performance expectations.
    3. Security Testing: Verify that security measures are effective and that there are no vulnerabilities.

    Training and Support

    Invest in training your IT staff on AWS services and best practices. AWS offers extensive documentation, courses, and certification programs that can be beneficial.

    Conclusion

    Migrating from VMware to AWS is a transformative move that can offer numerous benefits, from cost savings to enhanced scalability and disaster recovery. However, it requires careful planning and evaluation. By thoroughly understanding your current environment, defining clear objectives, analyzing costs, selecting the right migration strategy, assessing risks, conducting thorough testing, and investing in training, you can make an informed decision and achieve a successful migration.

    Remember, the key to a successful migration is not just in the execution but in the detailed planning and evaluation that precedes it. Good luck with your journey to the cloud!

    Feel free to share your experiences or ask questions in the comments section below.

  • Can You See Me Now? Ensure SOAR Playbook Visibility Into Artifact Data Regardless of Scope 

    Can You See Me Now? Ensure SOAR Playbook Visibility Into Artifact Data Regardless of Scope 

    By Marvin Martinez, Team Lead of Security Automation Operations

    Splunk SOAR, formerly known as Phantom, is essentially a canvas on which to build out your automation solutions. One particular aspect of how Splunk SOAR works behind the scenes can sometimes be beneficial, or somewhat of a hindrance, depending your use case. As you know, Splunk SOAR has this notion of “scope” when determining whether an artifact is “visible” to a playbook while it is running. This is not normally an issue if you’re manually executing a playbook and are able to select the scope before executing the playbook, as displayed below.

    SOAR platform UI showing artifact scope dropdown with options for new and all artifacts before running a playbook.

    There are use cases, however, where you may want to be able to repeatedly execute playbooks and ensure that some, or all, artifacts are always visible to the playbook. For example, you may have a workbook attached to the container with playbook references and analysts/users may need to run the same playbook more than once. In cases like this, the only usual option is to ensure you manually set the scope on each playbook block in your playbook to “All Artifacts” as you develop it. Depending on the length of your playbook, this may be unnecessarily tedious, particularly if you’re doing it repeatedly for multiple playbooks!

    A SOAR Hack

    In use cases like this, there is a clever SOAR hack you could employ that will ensure your playbook always has the artifact information available. You can leverage the REST API to retrieve the artifact data using a custom function and then it will be available as output variables in a utility block within your playbook.

    Creating a custom function ensures that you can re-use this piece of code any time you need it and for any artifact that’s in your container. A basic introduction to this custom function is below. In your SOAR environment, go to “Custom Functions” and click to create a new one.

    Inputs

    • artifact_name (item) – This will be the name of artifact in your container that you want to retrieve the values for.
    • container_id (item) – The container id of the container where the desired artifact is. This can easily be referenced by selecting “event” -> “id” in the parameter select screen when populating the inputs for the custom function call.

    Outputs

    • artifact_cef_values (item) – This will be a dictionary field that will contain all of the cef values in the artifact.

    As for the code, insert the following code snippet after the “Write your custom code here…” line in your custom function.

        #Create dictionary for results 
    
        artifact_cef_values_dict = {} 
    
        found_values = False 
        #Generate REST API call with filters to get artifact data 
    
        artifact_url = phantom.build_phantom_rest_url('artifact') 
    
        artifact_url = f'{artifact_url}/?_filter_container_id=
    
    {container_id}&_filter_name='{artifact_name}'' 
    
        response = phantom.requests.get(artifact_url, verify=False) 
    
        content = json.loads(response.text) 
        #Iterate through results and convert fields/values to dictionary keys 
    
        if content['count'] > 0: 
    
            found_values = True 
    
            artifact_cef_values = content['data'][0]['cef'] 
    
            keys = list(artifact_cef_values.keys()) 
    
            values = list(artifact_cef_values.values()) 
    
            counter = 0 
    
            for key in keys: 
    
                value = values[counter] 
    
                artifact_cef_values_dict[key] = value 
    
                counter = counter + 1 
        if not found_values: 
    
            comment = "NOTE: no field values found!" 
    
            phantom.comment(comment=comment) 
    
        else: 
    
            pass 
        #Assign output variable with internal results dictionary 
    
        outputs['artifact_cef_values'] = artifact_cef_values_dict 

    Results

    Once implemented, this custom function can now be called from your playbook (preferably at the top of it as one of your first blocks) and you can then reference the outputs of that block for any fields from your desired artifact, no matter what scope it’s running in. Below is a sample playbook that shows how this custom function could be utilized:

    SOAR playbook diagram highlighting steps to retrieve artifact CEF values, format output, and add a comment.

    The container this playbook will run on has one artifact named “test_artifact” with a few fields, one of which is a “destinationAddress”.

    Artifact metadata panel displaying test artifact details including protocol, destination address, and request URL.

    In the playbook above, the custom function is called as the first block and retrieves all the values for “test_artifact” in the current container. The configuration for the custom function is as shown below:

    Configuration screen for get_artifact_cef_values utility with defined artifact name and container ID variables.

    In the format output block immediately after, select the “artifact_cef_values” output from the custom function block and then just add the desired field at the end in object notation (i.e. add “destinationAddress” like get_artifact_cef_values_26:custom_function_result.data.artifact_cef_values.destinationAddress). In this case, we are just preparing a quick comment to show how the field retrieval works.

    Playbook format block dynamically referencing destination address from artifact CEF values for visibility.

    Now, just use the output of the format block in the comment block after that to output a comment to the container showing the data. The output of the comment block will display as shown below.

    Playbook result displaying extracted destination address from artifact data with command prompt for user input.

    As you can see, once implemented, it’s that easy to reference any values from your artifact at any point in your playbook with no need to worry about scopes or references at any point. If you have multiple artifacts, you could easily string together various of these blocks and just name them accordingly for use within your playbook.